jdk1.7 - Error loading:... jvm.dll

Monkey Forums/Monkey Programming/jdk1.7 - Error loading:... jvm.dll

GC-Martijn(Posted 2011) [#1]
I already have jdk1.7 installed so I thought maybe I can compile to Flash.

But its not working.

OUTPUT:
---------------
TRANS monkey compiler V1.21
Parsing...
Semanting...
Translating...
Building...
TRANS Failed to execute 'mxmlc -static-link-runtime-shared-libraries=true MonkeyGame.as', return code=6
Error loading: C:\Program Files\Java\jdk1.7.0\jre\bin\server\jvm.dll

Process Complete
--------------

There is a C:\Program Files\Java\jdk1.7.0\jre\bin\server\jvm.dll so that's not the problem.

(i'm using win7 64x and jdk 64x)

My question is now:
- Do I have to install and use jdk 1.6 ?


FlameDuck(Posted 2011) [#2]
Maybe? In either case you should probably not use (much less statically link) the 64 bit jvm.


skid(Posted 2011) [#3]
From my experience FLEX mxmlc compiler requires 32 bit JRE.


Gerry Quinn(Posted 2011) [#4]
Yes, I had this exact same problem (see my recent post in Bug Reports). You need the 32-bit version.


GC-Martijn(Posted 2011) [#5]
Yes the 32-bit version (jdk1.7.0) is working !