Error loading jvm.dll

Monkey Targets Forums/Flash/Error loading jvm.dll

Waldo Reed(Posted 2012) [#1]
I succesfully built for flash on my laptop running windows7 32b. I get the following error attempting to build on my desktop running windows7 64b.

Error loading: C:\Program Files\Java\jdk1.6.0_34\jre\bin\server\jvm.dll

The same JDK version was installed on both machines to the same directory, c:\Program Files However, windows7 64b also has the directory, c:\Program Files (x86) for 32b app installs.

On the 32b machine config.winnt JDK reference reads...
JDK_PATH="${PROGRAMFILES}\Java\jdk1.6.0_34"

On the 64b machine config.winnt JDK reference reads...
JDK_PATH="C:\Program Files\Java\jdk1.6.0_34"

As you can see I had to change the reference on the 64b machine since it was looking for the JDK in c:\Program Files (x86)

Thinking maybe it was not finding jvm.dll I added the following line in the config.winnt file but still get the loading error.

JDK_PATH="C:\Program Files\Java\jdk1.6.0_34\jre\bin\server"


Waldo Reed(Posted 2012) [#2]
I resolved the error by uninstalling the 64b version of the JDK and installing the 32b version on my 64b machine. Now Monkey, a 32b app, can load the 32b virtual machine. And now I'm happier than a witch in a broom factory! *CACKLE*