"Fossies" - the Fresh Open Source Software Archive

Member "jacl1.4.1/docs/TJC/jdkcfg.html" (4 Mar 2006, 3194 Bytes) of package /linux/misc/jacl1.4.1.tar.gz:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted raw source code. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

TJC Compiler Manual
JDK Config File

The JDK config file tells tjc where to find the javac and jar executables for your system. It must be named jdk.cfg and it must be located in the bin/ directory where the tjc script was installed. The JDK config file also sets the CLASSPATH environment variable that will be used when compiling with javac. For most users, the classpath will just need to include paths for the tcljava.jar, jacl.jar, and tjc.jar files from a Jacl install.

EXAMPLE:

JAVAC = C:/jdk14/bin/javac
JAR = C:/jdk14/bin/jar
CLASSPATH = C:/install/tjc/lib/tcljava1.3.1/jacl.jar;C:/install/tjc/lib/tcljava1.3.1/tcljava.jar;C:/install/tjc/lib/tcljava1.3.1/tjc.jar

In the above example, JDK software is installed in C:/jdk14. The CLASSPATH variable is set to include paths of tcljava.jar, jacl.jar, and tjc.jar. The jar files were installed into this directory when Jacl was installed into C:/install/tjc, but the jar files could be located anywhere on the filesystem as long as the CLASSPATH is set properly.

In the example above, the tjc install dir is C:/install/tjc, so the JDK config file must be saved in C:/install/tjc/bin/jdk.cfg.