[vtkusers] VTK 4.1.1 libvtkRenderingJava.so problem
Andrew Usher
A.C.J.Usher at damtp.cam.ac.uk
Wed Dec 4 09:12:04 EST 2002
Hi,
I'm running VTK 4.1.1 with j2sdk1.4.1 on Redhat 7.3 and keep getting
following error:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
/usr/local/lib/vtk/libvtkRenderingJava.so:
/usr/local/lib/vtk/libvtkRenderingJava.so: undefined symbol: JAWT_GetAWT
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at Cone.<clinit>(Cone.java:22)
I've double checked the makefile to point to libjawt.so correctly and
recompiled with no success. Any ideas please?
I'm compiling with:
javac -classpath
/usr/local/vtk/VTK/Examples/Tutorial/Step1/Java:/usr/local/vtk/VTK/bin/vtk.jar
Cone.java
and have LD_LIBRARY_PATH set to:
/usr/local/lib/vtk:
/opt/sunone/j2sdk1.4.1/jre/lib/i386:
/opt/sunone/j2sdk1.4.1/lib
Thanks very much,
Andrew
---------------------------------------------------
Andrew Usher
a.c.j.usher at damtp.cam.ac.uk
---------------------------------------------------
More information about the vtkusers
mailing list