[vtkusers] VTK for Java: running .class files

fw9189 at bristol.ac.uk fw9189 at bristol.ac.uk
Sun Oct 27 09:48:28 EST 2002


Dear All,

I've succesfully installed vtk for java, and can compile files without 
warnings. When trying to run the class files though, java gives me the 
following error message:

> java -cp c:\vtk-apps;c:\vtk40\bin\vtk.jar Sphere
Exception in thread "main" java.lang.UnsatisfiedLinkError: no 
vtkCommonJava in java.library.path
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1410)
        at java.lang.Runtime.loadLibrary0(Runtime.java:772)
        at java.lang.System.loadLibrary(System.java:832)
        at Sphere.<clinit>(Sphere.java:8)

Does anyone know why? It's most likely some simple problem with 
including files / package names.

Thanks
Fred

-----------------------------------------------------
This mail sent through SilkyMail v1.1.8



More information about the vtkusers mailing list