Starting Torero as a Java Applet


Running Torero as applet from your local harddisk

  1. download the lastest torero package.
  2. enter the root directory of the package and type "sh runapplet.sh" (unix) or "runapplet.bat" (windows). In this case you don't need the policytool.

Running Torero in a Browser from the Web directly

Requirements

  1. You'll need a JAVA enabled browser (most netscape, mozilla, opera, IE, ... are) with a JAVA-Plugin with version number equal or greater than 1.3.1. See the Requirements description section for details.
  2. Torero needs some access-rights on the machine (they are defined with the java-policytool)

Defining access rights

Torero needs some access-rights (e.g. for reading input grammar files, writing ox files), they are defined using java's policytool. It is started by typing "policytool" on an command line/shell. If it is not in the path, locate the java directory and enter the "/bin" directory. Then type "policytool again. A dialog should open as shown below.

Then Click on the "Add Policy Entry" Button.

Enter the url and the name of the .jar file into the "CodeBase" field. If you start Torero directly from the web it is "http://www.complang.tuwien.ac.at/torero/executable/torero.jar".

Click on the "Add Permission Button", select AllPermissions in the Permission ComboBox and click "Ok".
If you want to save your settings use File|SaveAS and enter a filename for your "Policy File". Usually this file is named ".java.policy" and is located in the user's home directory. Note that in Windows2000/XP this is the directory beyond "Eigene Dateien". Close the policytool.

Now Torero can be started directly under Start Torero.

 

 

Back
Torero Home