The Surabaya Web applet requires a Java plugin from Sun. You can get the Java plugin here. To run the Web applet you need to connect with a server. To run a server locally on your system do the following:
  • Download the server.jar file from Sourceforge.
  • Open a command prompt or terminal window.
  • Change to the directory that contains the server.jar file.
  • Type java -jar server.jar at the command prompt or terminal window to run server.
  • Go to the Surabaya Web applet and select File, Login.
  • Enter any arbitrary values for Login and Password. For the Server and Port fields, enter Server: localhost and Port: 8888.
  •    

    To install Surabaya Web applet on your site do the following:

    1. Download the webapplet.zip file from Sourceforge.

    2. Unzip contents of the webapplet.zip file to the public html directory. Each Web server has a different name for the public html directory, for example, public_html for Apache, wwwroot for Microsoft IIS, etc.

    3. Run Java tools to sign the applet as follows, as an example:

  • Generate keys - keytool -genkey -keystore java.surabaya -alias surabaya
  • Sign client.jar - jarsigner -keystore surabaya.java client.jar surabaya
  • Export certificate file - keytool -export -keystore surabaya.java -alias surabaya -file surabaya.cert

    4. Make sure surabaya.html, client.jar and surabaya.cert files are in the public html folder and accessible from a browser.

    5. To run simply point the browser to the surabaya.html file, for example http://surabaya.sourceforge.net/surabaya.html.

    6. You don't need to use this page to run the applet. You can have your own page but make sure you have the applet tag. To get the applet tag, right click on this page and select View Source. Copy paste everything between the applet tags but change the parameters as needed.