last update: $Date: 2003/10/28 12:15:41 $

Documents

Installation manual

Installing on Windows

  1. System Requirement

  2. Installing SDK/JRE

    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.

  3. Installing OpenGL

    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.

  4. Installing Apple QuickTime

    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.

  5. Installing "Jun for Java"

    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.

  6. Invoking the Launcher

    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.JunLauncher
    
    In 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.

  7. Troubleshooting


http://www.sra.co.jp/people/nisinaka/
mailto:nisinaka@sra.co.jp