[vtkusers] New to java - Where's the classes

Julio Lopez jclopez at cs.cmu.edu
Sun Dec 3 20:21:45 EST 2000


If I recall correctly, either in the Unix distribution or the Windows one the
java classes are not compiled when you build vtk with the java option.
However, the .java files are generated.  After building vtk, you can simply
compile the .java files and create a jar file.

The .java files are in the $(VTK_BUILD_DIR)/java/vtk, where $(VTK_BUILD_DIR)
is the directory where you build vtk.

I guess in the unix case it would be something like:

CLASSPATH=$CLASSPATH:.
cd $(VTK_BUILD_DIR)/java
javac vtk/*.java
jar cvf vtk.jar vtk/*.class

I hope this helps.

-- Julio





More information about the vtkusers mailing list