Pb: VTK and Java on SGI

Jan Ehrhardt ehrhardt at medinf.mu-luebeck.de
Fri Sep 10 03:06:33 EDT 1999

Sorry, I have still problems with VTK and Java.
 I can compile VTK --with-java sucessfully and the lib*Java.so will
be created.
"javac sphere.java" works fine,
but java sphere fails with the error message:
passat:~/tmp/vtk/vtk/java/vtk$java sphere 
java.lang.UnsatisfiedLinkError: no vtkJava in shared library path
        at java.lang.Runtime.loadLibrary(Runtime.java:440)
        at java.lang.System.loadLibrary(System.java:569)
        at sphere.<init>(sphere.java:27)
        at sphere.main(sphere.java:86)

But the Path of the lib*Java.so is in the LD_LIBRARY_PATH. And the location of
the vtk-java classes is in the CLASSPATH. 
I have compiled with the -o32 and -n32 option -- both fails with the error
What do I miss ?


This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.

More information about the vtkusers mailing list