[vtkusers] Help,Problem in VTK with JAVA on Windows XP

Chris Hood Chris.Hood at noaa.gov
Mon Aug 18 12:35:54 EDT 2003


   It can't find two of the DLLs that come with java that it needs. Copying 
awt.dll and jawt.dll into the directory with the vtk DLLs will fix it. If 
not, you can try to use dependency walker (http://www.dependencywalker.com) 
to see what's missing.

Chris Hood

At 04:04 PM 8/13/2003 +0800, you wrote:

>Dear all:
>    hello,I am a vtk new user,now I use vtk + java .I have installed
>jdk1.4 and vtk4.2 on WindowsXP,when I compile the examples code Cone.java, 
>use javac I can compile the Cone.java,but when I lanuch   the Cone it 
>gives following error(it runs on windows),
>
>Exception in thread "main" java.lang.UnsatisfiedLinkError:c:\vtk42\b
>in\vtkRenderingJava.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 Cone.<clinit><Cone.java:22>
>
>   What could be the problem?

Chris Hood
Graduate Student Research Assistant
University of Colorado, Boulder
Space Environment Center - NOAA  




More information about the vtkusers mailing list