[vtkusers] VTK with 64-bit java

pkudrle paul.kudrle at gmail.com
Wed Jun 24 17:09:18 EDT 2009


Note that I retried everthing using 32-bit JDK and now I receive a different
error.  Though I still want to know if VTK is compatible with 64-bit Java.

Here is the current error:

run:
java.lang.UnsatisfiedLinkError:
C:\Users\pkudrle\SRC\VTK\vtk542build32bit\bin\Release\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 vtktest2.Cone.<clinit>(Cone.java:19)
Could not find the main class: vtktest2.Cone.  Program will exit.
Exception in thread "main" 
Exception in thread "main" Java Result: 1
BUILD SUCCESSFUL (total time: 0 seconds)



pkudrle wrote:
> 
> I am new too VTK and I am looking at replacing our current 3D engine with
> VTK.  We are dependent on using Java and 64-bit.
> 
> I tried using cmake with the Visual Studio 9 64-bit but the cmake tool did
> not display the Java options.
> 
> I can do the build with the Visual Studio 9 32-bit but then the .dll that
> are created are for 32-bit systems and I get this error (Can't load IA
> 32-bit .dll on a AMD 64-bit platform).
> 
> Is the 64-bit platform an option for me?
> 
> Are there work arounds?  How reliable is 64-bit for VTK?
> 
> Thanks,
> Paul
> 

-- 
View this message in context: http://www.nabble.com/VTK-with-64-bit-java-tp24188376p24192955.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list