<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head>Hi Jeff,<br/><br/>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).<br/><br/><br/><p>Le mail ti raggiungono ovunque con BlackBerry® from Vodafone!</p><hr/><div><b>From: </b> Jeff Baumes <jeff.baumes@kitware.com>
</div><div><b>Date: </b>Mon, 24 Jan 2011 10:37:31 -0500</div><div><b>To: </b>arturex<arturo_caissut@tiscali.it></div><div><b>Cc: </b><vtkusers@vtk.org></div><div><b>Subject: </b>Re: [vtkusers] VTK 64bit and Java: vtkRenderingJava.dll: %1 is not a
valid Win32 application</div><div><br/></div><div class="gmail_quote">On Mon, Jan 24, 2011 at 8:28 AM, arturex <span dir="ltr"><<a href="mailto:arturo_caissut@tiscali.it">arturo_caissut@tiscali.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi all,<br>
<br>
strange behaviour here: I've decided to switch to 64bit VTK in order to<br>
avoid some problems I've had with heap filling, but I cannot run my<br>
application.<br>
<br>
I have built latest VTK version with MS Visual Studio's 64bit compiler, but<br>
when I try to use my brand new .dll files in a Netbeans project (loading<br>
them with System.loadLibrary(LIBNAME)) I get this error:<br>
<br>
Exception in thread "main" java.lang.UnsatisfiedLinkError:<br>
C:\Users\arturex\Documents\TempSources\O3-3DWS_64bit\vtkRenderingJava.dll:<br>
%1 is not a valid Win32 application<br>
<br>
<br>
The matter is, I KNOW it's not a valid Win32 application, it's a 64bit<br>
library! :-)<br>
Sometimes I really really hate Windows.<br>
Before you ask, I'm using a 64bit JVM, by the way, and I already changed my<br>
environment variables to point the 64bit libraries instead of he 32bit ones.<br>
<br>
Any ideas?<br>
<br>
<br>
Thanks,<br>
Arturo<br></blockquote><div><br></div><meta charset="utf-8">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?</div>
<div class="gmail_quote"><br></div><div class="gmail_quote">Jeff<br></div>
</html>