First, install Sun Microsystems's Java2 Software Development Kit (SDK) or Java2 Runtime Environment (JRE). SDK and JRE are both available at no cost from Sun Microsystems's Java Technology Homepage.
JDK and JRE are provided as executable installer files, so after downloading, just run the installer and follow the instructions given.
With the operation system other than Windows 95, OpenGL is preinstalled with the system, so this step can be skipped.
With Windows 95, it will be necessary to install OpenGL95 explicitly. Microsoft's FTP server provides OpenGL95 as a no-cost downloadable file.
The downloaded OpenGL95.exe file is provided as self-restoring compressed, executable file, so first create a temporary work folder, then copy OpenGL95.exe to it and execute the file there. Upon execution, a number of files will appear in the directory. From among them, the 5 files listed below should be copied or moved to the path specified as the system directory (e.g., "C:\windows\system").
The temporary folder and its other contents are not needed for the following steps, so they may be deleted as desired.
Download the Apple QuickTime and follow the instruction to install it. The Apple QuickTime is available for downloading from http://www.apple.com/quicktime/.
Note that you don't have to install QuickTime for Java since Jun for Java doesn't need it.
The most recent version of Jun for Java is available for downloading from SRA's FTP server.
The downloadable files have been archived in ZIP format and restoring them will result the following files and directories.
README ... README file changes ... Changes file doc/Installation/ ... Directory which contains the installation manual. src/ ... Source directory src-jni/GL/ ... Source directory of JNI shared library for OpenGL src-jni/QT/ ... Source directory of JNI shared library for Apple QuickTime lib/jun???.jar ... Class library in JAR format. The ??? stands for the version number lib/windows/jun4java.dll ... JNI-complient shared library file needed to access OpenGL from Jun for Java lib/windows/JunQT4Java.dll ... JNI-complient shared library file needed to access Apple QuickTime from Jun for Java
Among these, jun4java.dll and JunQT4Java.dll must be copied or moved to the path specified as the system directory.
The downloaded file contains StPL (Smalltalk-Style Programming Library).
README-StPL ... README file of StPL. src/sra/smalltalk/ ... Source directory of StPL. src-jni/ST/ ... Source directory of JNI shared library for StPL lib/StPL??.jar ... StPL in JAR format. The ?? stands for the version number. lib/windows/StPL.dll ... JNI-complient shared library file needed to access StPL.
As this library is a port of the original Jun written in Smalltalk (Jun for Smalltalk), Jun for Java uses SRA's StPL. Among these, StPL.dll must be copied or moved to the path specified as the system directory.
Add the 2 JAR files that have been installed (i.e., jun???.jar and StPL??.jar) to the Java class path, then specify the class containing the method main, and invoke the Java virtual machine.
For example, this can be accomplished by executing the following batch file.
java -cp C:\Jun4Java\lib\jun406b.jar;C:\Jun4Java\lib\StPL60.jar sra.jun.system.support.JunLauncherIn this, it is assumed that the JAR files have been installed in the path "C:\Jun4Java". If they have been installed elsewhere, then revise the specification of CLASSPATH appropriately.
Could not find jun4java.dll. Please copy jun4java.dll to a directory specified with the PATH environment variable.
Different version of jun4java.dll was found. Please copy jun4java.dll included in the distribution to a directory specified with the PATH environment variable and overwrite the old one.
If more than one directories are specified with the PATH environment variable, be sure more than one jun4java.dll files are not exist.
Could not find JunQT4Java.dll. Please copy JunQT4Java.dll to a directory specified with the PATH environment variable.
Different version of JunQT4Java.dll was found. Please copy JunQT4Java.dll included in the distribution to a directory specified with the PATH environment variable and overwrite the old one.If more than one directories are specified with the PATH environment variable, be sure more than one JunQT4Java.dll files are not exist.