I have been workin' on a Java project with Eclipse on my 32-bit Windows Xp pc. This project relates to another C++ project, developed with Visual Studio 2008, through Java Native Interface (JNI). Now I have moved my projects on a 64-bit Windows 7 pc.
The compilin' of the C++ project on Visual Studio is alright, but if I try to compile my Java project on Eclipse, that's what I get:
Exception in thread "Thread-3" java.lang.UnsatisfiedLinkError: C:\Users\Desktop\temp\BioTesi\BioCpp.dll: %1 is not a valid Win32 application
I think that the problem is that the project is set for a 32-bit architercture, while now it does not "know" that it's workin' on a 64-bit architecture.
How could I set, on Eclipse, the fact "This project must be compiled 64-bit way"?
Thank you very much