iNTERFACEWARE Products Manual > Installing and Using Chameleon > Language API Documentation > Java Support > CLASSPATH, LD_LIBRARY_PATH and PATH Variables |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
In most cases, the Chameleon installation program will correctly set up the CLASSPATH and PATH environmental variables. However, it is useful to know how these variables should be set for deployment purposes. Under windows, PATH variable must have the directory of Chameleon on it so that the CHM_JAVA.DLL file can be loaded. This forms the JNI bridge between Java and the C++ core of Chameleon. Under UNIX, the equivalent environmental variable is LD_LIBRARY_PATH, and the shared object libchm_java.so forms the bridge between java and the C++ core of Chameleon. Your CLASSPATH variables should allow Java to find the com.interfaceware.chameleon package and the generated stubcode package. Since the com.interfaceware.chameleon package is distributed in a JAR archive file called classes.jar in the java subdirectory off Chameleon, a typical setting for CLASSPATH would be ".;C:\Program Files\iNTERFACEWARE Chameleon\java\classes.jar" when using Windows. Note that the classes.jar file is stored in the package directory for Unix.
|