Building Your Own lcd.jar

The Java source code for the hep.lcd package has now been moved to CVS. For instructions on getting the source code see the source code page. Once you have the source code you can follow these instructions to build your own version of lcd.jar.

We have set up a pure java build process which should work identically on all platforms so long as Java is available.


Before you can build hep.lcd you must get and install the Java Development Kit (JDK) from Sun. In addition you must make sure that the JDK bin directory is in your PATH. For example:

set PATH=c:\jdk1.3\bin;%PATH%

To test that all is well issue the command:

javac -J-version

You should see output somewhat similar to this:

java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0rc3-Z)
Java HotSpot(TM) Client VM (build 1.3.0rc3-Z, mixed mode)

You need java version 1.2.0 or later for these instructions to work.

Building lcd.jar and ZvTopVertexer.jar

To build lcd.jar you should set your default directory to the directory where you stored the source code from cvs. Then issue the following commands, modifying any paths as appropriate:

set LCD_HOME=c:\lcd
set JDK_HOME=c:\jdk1.3

If all went well you should now have an lcd.jar and ZvTopVertexer.jar file in your lib directory. Copy this to the JAS extensions directory, and you are ready to try your new code.

Tony Johnson - Last Modified Wednesday, January 14, 2004