-
Compilation Bug
For couple of weeks now I'm getting this error code:
Error loading: D:\Programs\JAVADE~1\jre\bin\server\jvm.dll
I believe it has got something with other builds, so I will check it.
Edit 1:
Flash upgrade to 10.3 didn't help.
Edit 2:
Reinstalation of SWF Exporter doesn't work.
-
Re: Compilation Bug
Have you tried reinstalling Java?
-
Re: Compilation Bug
Was it a java heap error message like I had? (see thread below if so:)
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=234524#Post2345 24
-
Re: Compilation Bug
I started to have those issues after installing XNA runtime and build 252 (SWF is 251) so I don't know if that's the issue. I done update for Java and it didn't help but the thing is where's connection between Flash and Java?
-
Re: Compilation Bug
The Flash compiler is written in Java.
-
Re: Compilation Bug
I got this error and had to change a system path variable, then it started working again. I think it was because I installed the Android SDK or something.
Here's the thread:
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Main=28236&Number=2115 48
-
Re: Compilation Bug
Francois thanks for explanation.
cgbartek - could you describe more precisely what you've done? for Me both Java machine and compilation to Java are working perfectly fine, so I don't know what's going on. And last time Java BSODed by OS, so I wouldn't like to play in registry to make it operative.
-
Re: Compilation Bug
Here's what I did (from Win 7):
go to Start -> Computer -> Properties
go to Advanced System Settings
click the Advanced tab
click on Environment Variables...
in System variables, find "JAVA_HOME"
rename it to "JAVA_HOME_BAK" or something
restart MMF
It should work now. However, you may later have to name it back to what it was to get the Java compiler working again, but this should at least get the SWF compiler working again.
Also, just as a disclaimer, be very careful in this area. It can be just as dangerous as messing with the registry.
-
Re: Compilation Bug
After your change it provides with
Error occurred during initialization of VM
Unable to load native library: Can't find dependent libraries
After giving direct access - it still provides old error.
Error loading: D:\Programs\Java Development Kit\jre\bin\server\jvm.dll
Probably I will need to reinstall whole OS, damn it.
-
Re: Compilation Bug
Hmm, that fixed it for me. I dunno then. I think it's something to do with installing Java SDKs that MMF2 doesn't seem to like.
-
Re: Compilation Bug
I will do Windows reinstalation later on Today, so it should fix the issue.
-
Re: Compilation Bug
So I reinstalled Windows, Installed MMF (239) Installed Java (JDK with JRE) and installed SWF (without Java) went to MMF and I couldn't compile project (JRE Not found).
I went to properties but there was only option to select JDK for Blackberry! So I tried to install JRE manually (doesn't help) and reinstall SWF with Java (this sorted out the problem) but still I had to reinstall Windows to sort out this issue :/
-
Re: Compilation Bug
Are you running a 64 bit system? I had a problem with the Android installation and had to fiddle with the JAVA_HOME environment variable. This gave me the same error as you when compiling for Flash so I made it point to the corresponding folder in the 64 bit Program Files folder and it worked.
I did post this in the Android testers forum but got ignored...
Steve
-
Re: Compilation Bug
Yes it's Windows 7 Ultimate 64-bit. It happened for me after XNA instalation and now I'm redoing it from scratch. The issue was as well that I had Java installed on D where my OS is on C, so it could complicate things as well. This is why now I changed a bit sizes of partition and put everything I need on C (all SDKs).