Because Jun for Java version 340 and later requires Java 2, it requires Mac OS X.
Java 2 Standard Edition 1.3 is included in Mac OS X.
To develop with Jun for Java, you need to install Developer Tools.
OpenGL is included in Mac OS X, too.
To use the multimedia handling functions, you'll need to install QuickTime, which is also included in Mac OS X.
The most recent version of Jun for Java is available for downloading from SRA's FTP server. Also the runtime version is available. It's free to renaming or moving files or so. But the runtime version has not source files.
The downloadable files have been archived in ZIP format and restoring them will result the following files and folders. Please restore them in an appropriate folder.
* You'll need StuffIt Expander or ZipIt to unzip it on Mac OS.
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/macintosh-osx/libjun4java.jnilib ... JNI-complient shared library file needed to access OpenGL from Jun for Java lib/macintosh-osx/libJunQT4Java.jnilib ... JNI-complient shared library file needed to access Apple QuickTime from Jun for Java
The downloaded file contains StPL.
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/macintosh-osx/libStPL.jnilib ... 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 "Smalltalk-Style Programming Library". Please read the README file at the StPL directory for more information.
To rebuild libjun4java.jnilib, etc., execute make -f Makefile-macosx in ~/Jun4Java/src-jni/. You need Developer Tools installed.
Put the 2 JAR files ("jun???.jar" and "StPL??.jar"), JNI library file ("jun4java.shlib"), and JNI library file for QuickTime ("JunQT4Java.shlib") to the same folder as "jun4java.app", and launch "jun4java.app."
Or open the Terminal window, and set the DYLD_LIBRARY_PATH environment variable. Then, 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 command.
setenv DYLD_LIBRARY_PATH $HOME/Jun4Java/lib/macintosh-osx java -cp $HOME/Jun4Java/lib/jun406b.jar:$HOME/Jun4Java/lib/StPL60.jar sra.jun.system.support.JunLauncherIn this, it is assumed that the JAR files have been installed in the path "$HOME/Jun4Java". If they have been installed elsewhere, then revise the specification of CLASSPATH appropriately.
Could not find libjun4java.jnilib. Please copy libjun4java.jnilib to a directory specified with the DYLD_LIBRARY_PATH environment variable.
Different version of libjun4java.jnilib was found. Please copy libjun4java.jnilib included in the distribution to a directory specified with the DYLD_LIBRARY_PATH environment variable and overwrite the old one.
If more than one directories are specified with the DYLD_LIBRARY_PATH environment variable, be sure more than one libjun4java.jnilib files are not exist.
Could not find libJunQT4Java.jnilib. Please copy libJunQT4Java.jnilib to a directory specified with the DYLD_LIBRARY_PATH environment variable.
Different version of libJunQT4Java.jnilib was found. Please copy libJunQT4Java.jnilib included in the distribution to a directory specified with the DYLD_LIBRARY_PATH environment variable and overwrite the old one.If more than one directories are specified with the DYLD_LIBRARY_PATH environment variable, be sure more than one libJunQT4Java.jnilib files are not exist.