Skip to main content

Can't load 32-bit JWS applications if 64-bit JVM installed

2 replies [Last post]
cowwoc
Offline
Joined: 2003-08-24
Points: 0

Hi,

Can someone reproduce this?

I installed both the 32-bit and 64-bit JDKs for Java6 update 14. I then hit http://www.jpct.net/demos.html using FireFox and click on the first demo. An exception is thrown:

java.lang.UnsatisfiedLinkError: C:\Users\Gili\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\13\12c04e0d-3820eb80-n\lwjgl.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

... which shouldn't happen if the 32-bit plugin is being used. I don't understand why the 64-bit plugin is used if I am launching this from FireFox which is 32-bit. Any ideas?

Gili

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
mthornton
Offline
Joined: 2003-06-10
Points: 0

A further note: given that the new plug in runs applets in a separate process there is no obvious reason why that process must be the same 'bitness' as the browser.

So we should be celebrating the fact that you can now run a 64 bit applet in a 32 bit browser!

mthornton
Offline
Joined: 2003-06-10
Points: 0

The resources section doesn't ask for a 32 bit JVM:



Perhaps it should be




The vm argument of "-d32" will request a 32 bit jvm where available.