[vtkusers] Problem with java and vtk

Guilherme Ferraz de Arruda guiep at yahoo.com.br
Fri Jul 17 01:18:39 EDT 2009


Hi, i tried to compile this example:
http://dev.artenum.com/projects/cassandra/forum/how-to-use-eclipse-and-vtk
I did everything right, but i got this error when i try to run (at eclipse):
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program
Files (x86)\Cassandra\thirdpart\vtk5.0-32b\bin\vtkRenderingJava.dll:
Can't find dependent libraries
       at java.lang.ClassLoader$NativeLibrary.load(Native Method)
       at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
       at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)
       at java.lang.Runtime.loadLibrary0(Runtime.java:823)
       at java.lang.System.loadLibrary(System.java:1028)
       at vtk.vtkPanel.<clinit>(vtkPanel.java:31)
       at VTKSample.main(VTKSample.java:17)
I tried to add the native library location and got the same error.
What is wrong??
What can i do to fix it??
I don't have much experience with java.
I'm using Eclipse 3.5.0 and JRE 1.6.
Thanks for all



More information about the vtkusers mailing list