All the Java interfaces and utility classes necessary for programmatically
creating and editing Isight
applications are available in the JDK 7 is the supported version. This JDK can be downloaded from the Sun web site at http://java.sun.com/javase/downloads/index.jsp. JAVA JDKs are also available from other vendors. Assuming that you have the JDK installed and it is on your system path, you can run the following command from a command prompt to compile your code: >javac -classpath This command will be sufficient to compile your application code, but execution of your application requires that the classes and any other resource files for your application be provided in a jar (Java Archive) file and that the proper environment be established for your application to execute in. To create a jar file for your application, execute the following command: > jar cf MyApp.jar *.class *.properties *.gif The process of establishing the proper environment for your application
includes setting system environment variables, specifying the classpath
to include your application jar file and jar files containing other required
classes from the Isight
installation, and providing the proper arguments. The Isight
installation includes a @echo off setlocal call "%~dp0%fiperenv.bat" rem --- Set up and launch as command-line application rem --- Add any needed Jar files to the following line set LaunchClasspath=%FiperJars%;MyApp.jar set LaunchPgm=<fully qualified path to your main class> rem EXAMPLE: set LaunchPgm=com.engineous.system.cmdline.CmdClient set LaunchArgs=%* call "%~dp0%launch.bat" The |