Starting an ApplicationPlease see the JICOS Programming Manual for creating the java files for a JICOS application. In what follows, I assume that:
java -Djava.rmi.server.codebase=URLThe 1st command-line parameter is the domain name of the machine on which the HSP's rmiregistry is listening. The command line below is an example of this: java -cp /cs/faculty/cappello/r/p/janet/In this case, the package resides within /cs/faculty/cappello/r/p/janet/. That is, relative to the janet directory, there is an Application.class file whose package name is janet.examples.helloworld. The class files for the HelloTask task is available for download via a web server from http://www.cs.ucsb.edu/~cappello/classes/ Don't forget the trailing "/". Also, the classes actually reside in the ~cappello/public_html/classes/janet/examples/helloworld directory. The command-line parameters indicate that the HSP is running on a machine with domain name lysander. The application simply prints "Hello, world!" to System.out. |