[vtkusers] vtk4.0 Java Errors
Peter J. Carr
pjc at hootenanny.org
Fri Jan 11 17:22:39 EST 2002
I just built vtk4.0 (Linux - RedHat 7.2) but get the following error
when testing java via Regression.java. I have Sun's JDK1.3.1 installed
in /usr/local/java.
java -classpath .:vtk4.0.jar Regression
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/pcarr/vtk/vtk4.0/VTK/lib/libvtkRenderingJava.so: /home/pcarr/vtk/vtk4.0/VTK/lib/libvtkRenderingJava.so: undefined symbol: JAWT_GetAWT
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1382)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1306)
at java.lang.Runtime.loadLibrary0(Runtime.java:749)
at java.lang.System.loadLibrary(System.java:820)
at Regression.<clinit>(Regression.java:10)
A few questions:
0. Has anyone gotten vtk4.0 + Java to work on a Linux system? Please
let me know.
1. CMakeCache.txt: Is this the correct entry?
JAVA_AWT_LIBRARY:FILEPATH=/usr/local/java/jre/lib/i386/libawt.so
2. I previously had a different setting for
JAVA_AWT_LIBRARY:FILEPATH=/usr/local/java/jre/lib/i386
3. When I make changes to CMakeCache.txt what do I have to do to
ensure all of the necessary files get built? I would rather not 'make
clean' since it takes a couple hours to build everything.
4. Since it seems my problem is in libvtkRenderingJava what do I
need to rebuild?
Thanks for any help,
Peter Carr
More information about the vtkusers
mailing list