The MicroPsi Web Documentation System
[ start | index | login ]
start > installation

installation

Created by rvuine. Last edited by rvuine, 4 years and 51 days ago. Viewed 6,414 times. #14
[diff] [history] [edit] [rdf]
labels
attachments

Installation

To install the toolkit:

  • Make sure you have a Java 5.0 SDK or JRE installed.
  • On the Mac, make Java 5 your default VM for Eclipse. (See this >>link if you don't know how to do it. If you're wondering if you did this already at some time in the past: You probably didn't.)
  • >>download Eclipse (Select the 3.1.0 SDK version for your operating system.), and unpack it to where you want to start it. Start it!
  • Go to Help -> Software Updates -> Find and Install and select "Search for new features to install"
  • "New remote site". Give the site a name (e.g. "Micropsi update site") and enter >>http://www.cognitive-agents.org/update/ as URL.
  • Open the site and select the "Toolkit" entry. Follow the instructions of the wizard. (You may use the site bookmark to check for updates later.)
  • Say yes if you're asked if you want to restart Eclipse.
  • You can now open Micropsi perspectives, such as Mind, Admin and World.
  • If you are on Windows and want to install the 3dviewer, open your site bookmark again and select the optional tools' entry.
  • To install the agent itself, open the Java perspective and create a new project (New -> Project -> -> (Folder "Java") -> MicroPsi agent project - not just a normal Java project), name it "simpleagent" (exactly! lowercase!) and click "Finish".
  • download our example agent from the downloads page and import the ZIP-file (simpleagent.zip) by right-clicking on the project, selecting Import und choosing Zip-File.
  • In the Mind perspective (node net editor), use Agents -> Select Agent to select the agent "micropsi". You can now load the initial agent by clicking the "Load Agent state" button.
  • For starting the agent: Enable the scripting view: Window -> Show View -> Other -> MicroPsi Mind Console -> Scripting. When the scripting view shows, double-click the StartNet script. When it's finish, press the black Run Net button.
Sometimes, people have trouble updating from earlier versions of the toolkit. If you encounter unusual behaviour after updating, such as multiple entries for the same views, missing menu entries and the like, try update-troubleshooting.

Icon-Comment negrello, 4 years and 347 days ago. Icon-Permalink

The steps were followed mindfully (they used to work on my pc, the mac is the current challenge). I will try to find smth about file permissions. When i find them, what should i do? Who should i grant immediate irrestricted access?

Icon-Comment rvuine, 4 years and 349 days ago. Icon-Permalink

When doing a "Load agent state", you should at least see the "initial" state, and when you restart Eclipse, the initial state should load automatically. So, most likely, the state does not exist in your installation. Probably, you did not install the agent properly. Did you:
  • download the simpleagent.zip
  • in the Java Perspective: create a new "MicroPsi agent project"
  • name it "simpleagent" (!)
  • import the simpleagent.zip without getting any error reports
The exception you get is a FileNotFoundException, so either the agent's state directory does not exist (as it would be the case if you didn't call the agent project "simpleagent") or there was some problem with file system permissions inside Eclipse's workspace directory.

Icon-Comment drujensen, 4 years and 12 days ago. Icon-Permalink

On my iMac, I got a message saying a class was missing. I don't recall the name but Eclipse allows you to either select a jar or change the environment. When I chose to change the environment, I noticed one of the jars had jarnull at the end. When I removed the jarnull and added the same jar and then restarted Eclipse, the perspectives showed correctly.
Please login to post a comment.

Quicklinks
fields of activity
downloads
installation
getting started
extension (new!)
faq
>>Bugzilla
snipsnap-help

Logged in Users: (0)
… and a Guest.



< March 2010 >
SunMonTueWedThuFriSat
123456
78910111213
14151617181920
21222324252627
28293031

>>SnipSnap 1.0b1-uttoxeter

www.cognitive-agents.org