[vtkusers] Help! Set path and classpath?

Xin Zhao zxem at my169.com
Fri Apr 25 15:44:08 EDT 2003

Dear all,

     I use JCreator 2.5.
     I set the enviroment parameters in path or classpath for VTK.

     In JCreator, I choosed Configure -- Options -- JDK profiles -- j2sdk1.4.01 -- Edit -- Classes -- Add Archive -- e:\vtk422\bin\vtk.jar.

     And I set the e:\vtk422\bin to my system path.(In dos window, "Path" command, I checked it.)

     But when I run the example TestVTKCanvas.java. When I compiled it, it is ok.
     At run time, there is a error message:

     "Exception in thread "main" java.lang.UnsatisfiedLinkError:
eringJava.dll: Can't find dependent libraries
        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 vtkPanel.<clinit>(vtkPanel.java:31)
        at TestVTKCanvas.<init>(TestVTKCanvas.java:11)
        at TestVTKCanvas.main(TestVTKCanvas.java:29)
Press any key to continue..."

		What is the problem?


																Xin Zhao	

More information about the vtkusers mailing list