[vtkusers] R: Re: VTK 64bit and Java: vtkRenderingJava.dll: %1 is not avalid Win32 application
arturo_caissut at tiscali.it
arturo_caissut at tiscali.it
Mon Jan 24 10:41:22 EST 2011
Hi Jeff,
I am rebuilding now after I've removed all of the 32bit Java from my pc, I think the problem is that during CMake configuration I didn't check the library paths (i.e. Awt location).
Le mail ti raggiungono ovunque con BlackBerry® from Vodafone!
-----Original Message-----
From: Jeff Baumes <jeff.baumes at kitware.com>
Date: Mon, 24 Jan 2011 10:37:31
To: arturex<arturo_caissut at tiscali.it>
Cc: <vtkusers at vtk.org>
Subject: Re: [vtkusers] VTK 64bit and Java: vtkRenderingJava.dll: %1 is not a
valid Win32 application
On Mon, Jan 24, 2011 at 8:28 AM, arturex <arturo_caissut at tiscali.it> wrote:
>
> Hi all,
>
> strange behaviour here: I've decided to switch to 64bit VTK in order to
> avoid some problems I've had with heap filling, but I cannot run my
> application.
>
> I have built latest VTK version with MS Visual Studio's 64bit compiler, but
> when I try to use my brand new .dll files in a Netbeans project (loading
> them with System.loadLibrary(LIBNAME)) I get this error:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError:
> C:\Users\arturex\Documents\TempSources\O3-3DWS_64bit\vtkRenderingJava.dll:
> %1 is not a valid Win32 application
>
>
> The matter is, I KNOW it's not a valid Win32 application, it's a 64bit
> library! :-)
> Sometimes I really really hate Windows.
> Before you ask, I'm using a 64bit JVM, by the way, and I already changed my
> environment variables to point the 64bit libraries instead of he 32bit
> ones.
>
> Any ideas?
>
>
> Thanks,
> Arturo
>
A few Google search results suggest that you are running the 32-bit version
of Java, but Google can be wrong. Did you try removing all traces of the
32-bit Java from your system?
Jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110124/b97c0b1b/attachment.htm>
More information about the vtkusers
mailing list