[vtkusers] VTK for Java: running .class files
Jarek Sacha
galicjan at yahoo.com
Sun Oct 27 21:19:59 EST 2002
At 09:48 AM 10/27/2002, fw9189 at bristol.ac.uk wrote:
> > 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)
The error means that vtkCommonJava.dll is not in you Windows PATH. Make
sure to add location of your vtk DLLs to your PATH variable.
Jarek
More information about the vtkusers
mailing list