...This is really annoying.
I work with adobe cs5. Recently, it started to not work. I would have to restart it over and over to get it to compile an swf properly. So I am trying cs5.5. I get this error "Error initializing Java Runtime Environment. You may need to reinstall Flash."
So im like OK....Thats helpful....
-reinstalls flash-
"Error initializing Java Runtime Environment. You may need to reinstall Flash."
...
-reinstalls java-
-reinstalls flash-
-reinstalls adobe flash cs5.5-
"Error initializing Java Runtime Environment. You may need to reinstall Flash."
...
-google-
So I come across this post. Follow it exactly.
"Error initializing Java Runtime Environment. You may need to reinstall Flash."
...
I change the thingy in the file to Xmx1024M
"Error initializing Java Runtime Environment. You may need to reinstall Flash."
...
I come to the forums.
What do I do now?
Your best bet might be to contact customer/technical support, or if you found a posting discussing your problem, send a private message to whomever was inquiring. These are user to user forums, and the occasional visits by Adobe employees tend to occur only for postings where software bugs of new releases pop up.
i know you're frustrated but people, like ned and i, are just trying to help. we're volunteers. we're not being paid: we're not adobe employees.
anyway, i've seen that error myself but restarting my computer remedied the problem. i'm pretty sure that's not going to help you and i thought the most likely remedy explained in the adobe knowledge base would be more likely to help you. i now know you'd already tried that and it did not help.
i think your best bet is to google that error message and explore all the solutions mentioned. i'm also pretty sure you've already done some of that but if you've not followed all the links listed, i would encourage you to persist.
Hi!
So has anyone found a solution to this rather irritating problem?
I get this occurring with Flash CS5.5 multiple times every day! Restarting Flash works sometimes, but not always, same applies to restarting my PC...
Reinstalling Flash, as prompted by the error message has no effect, neither does reinstalling the JRE...
I'm running out of hair to pull out. ![]()
I guess it was caused by the class_path probably, since last time in my pc class_path was :
.;%JAVA_HOME%\jre\lib\rt.jar;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib \jconsole.jar;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\htmlconverter.jar ;%JAVA_HOME%\lib\jvm.lib;
, and then I delete all files in C:\Documents and Settings\All Users\Application Data\Adobe\CS5\jre\ copy another jre's files into the folder
and then change class_path into .;%JAVA_HOME%\jre\lib\rt.jar;%JAVA_HOME%\lib\tools.jar;
and things goes right
I don't know if it's going to help but:
Last time I had random crashes within flash IDE it was caused by my anti-virus which identified some flash DLL as being threatening.
(It was because a flash security leak had been found in flash player, and my AV took rather drastic measures about this issue)
In your case perhaps your Anti-virus has problems with JRE, or some component used by Flash.
The solutions may be to try deactivating your AV for some time to check if the problem remains.
Hope it helps.
Hello,
I had the same problem and after trying everything one day I did a "boot-time scan" with my antivirus -avast- and it found some threat with some java files or something, I just leave the program do its job and delete everything what it was wrong. After the restart I opened Flash and it worked fine. No more "error initializing java runtime environment you may need to reinstall flash cs5"
I hope this help.
This might not help, but I finally fixed this issue, none above worked for me.
I see all jvm.ini files (one in user folder one in adobe folder) so -Xmx1014m read -Xmx128m, then i delete the enviorment variables
JAVA_PLUGIN_WEBCONTROL_ENABLE
JAVA_TOOL_OPTIONS
added vars
QTJAVA : C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
resintalled flash (although i don't think this helped) and java runtime, and it worked after that. This was a VERY VERY frustrating issue, not a big fan of java runtime after this.
I tried to uninstall java and flash as told here http://forums.adobe.com/message/2975044#2975044
but nothing helped.
Eventually I find out it was engough to specify -Xmx256m instead of -Xmx512m, and everything started working.
Too large values > 256 cause the error appear. Too low -Xmx128m makes flash to yield while publish.
This link might help: http://program-wait4it-ming.blogspot.com/
I found a solution, which works for me.
Just delete the jvm.ini file under the temporary folder location. In windows it would be below path.
C:\Users\USERNAME\AppData\Local\Adobe\FLASH_VERSION\en_US\Configuratio n\ActionScript 3.0
Eg. C:\Users\admin\AppData\Local\Adobe\Flash CS6\en_US\Configuration\ActionScript 3.0
As soon as you start the Flash, a defult jvm.ini will be created automatically, in that location and your flash works fine.
Acutally the error comes due to the corroupt jvm.ini file (Too large values > 256 cause the error appear. Eg. Xmx1024m ) which gets created in temporary configuration forlders automatically during the Flash Installation.
Everytime Flash starts its looks for the jvm.ini file and allow the maximum initalized memory to the JVM.
North America
Europe, Middle East and Africa
Asia Pacific