Skip navigation
sfxworksTrue
Currently Being Moderated

Error initializing Java Runtime Environment.  You may need to reinstall Flash.

Jul 3, 2011 12:24 AM

...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?

 
Replies
  • Currently Being Moderated
    Jul 3, 2011 4:39 AM   in reply to sfxworksTrue

    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.

     
    |
    Mark as:
  • kglad
    72,235 posts
    Jul 21, 2002
    Currently Being Moderated
    Jul 3, 2011 6:28 AM   in reply to sfxworksTrue
     
    |
    Mark as:
  • kglad
    72,235 posts
    Jul 21, 2002
    Currently Being Moderated
    Jul 3, 2011 4:25 PM   in reply to sfxworksTrue

    sorry i tried to help.

     
    |
    Mark as:
  • kglad
    72,235 posts
    Jul 21, 2002
    Currently Being Moderated
    Jul 3, 2011 5:04 PM   in reply to sfxworksTrue

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 29, 2011 2:13 AM   in reply to sfxworksTrue

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 25, 2011 4:10 AM   in reply to sfxworksTrue

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 2, 2011 5:16 AM   in reply to sfxworksTrue

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 22, 2012 6:00 AM   in reply to sfxworksTrue

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 16, 2012 8:46 AM   in reply to sfxworksTrue

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 3, 2012 4:36 PM   in reply to sfxworksTrue

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 16, 2012 4:12 AM   in reply to sfxworksTrue
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 23, 2012 9:23 AM   in reply to sfxworksTrue

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 2, 2013 7:00 AM   in reply to Viren AS 3.0 Developer

    Viren  - This worked for me, thanks.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points