3. How do I run SAPIENT as a standalone process?

If you have Firefox3 installed and java 1.6 or later, you can run SAPIENT. Open a command prompt and navigate to the "sapient" directory you have just created (see 17.).

Type:


"java -Xmx512m -jar sapient.jar Server"


The first time you run this, it will ask you about whether you want to configure a server. Answer 'yes'. It will then ask you if you want a full web server, answer 'full'. It will then ask you if you would like to specify a working directory.

Just press enter. Finally, it will ask if you want to lock the server down so that it can only be accessed from the machine it is running on. Answer 'yes'.

If the Server setup is successful, you should see a 4-line message appearing at the command prompt, one of which should be: Server ready - go to http://127.0.0.1:8181/.

In Firefox, navigate to the URL: http://localhost:8181.

You should be able to see the SAPIENT Index now!

NOTE: The first time you run sapient.jar as described above, it will create new folders in your sapient directory. Put any files we give you for annotation in the "corpora" folder. Annotations will be stored automatically in the "scrapbook" folder.

You can also run SAPIENT through Oscar3. In this case, refer to the README.txt file released with Oscar3 for instructions on how to install and run Oscar3.