Skip navigation
Gat Online
Currently Being Moderated

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

Jul 14, 2010 11:32 PM

i got a .fla file about 2xx mb (contain number of actionscript and layers) on another using Flash CS3 Professional


and i use it ( Flash CS3 Professional) too ,


i can open the fla successfully , but when i try to export the fla to the swf


it appear the message :


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


result : the swf is gen but the frames move "non-stop" automatically


i had tried use different OS (winXP , Win7 ) and JRE


even i increase my RAM on my notebook 2G --> 4G


it's still happened eveyrtime




Could some one help me to solve this probelm?





  • Currently Being Moderated
    Jul 14, 2010 11:58 PM   in reply to Gat Online

    Maybe there is a problem with your flash application try to remove flash and reinstall it.

    Mark as:
  • Currently Being Moderated
    Nov 27, 2010 3:54 AM   in reply to Gat Online

    this is because flash cannot find this Java app to compile your AS3 project. IT is not you it is the f*cking adobe or java...

    Mark as:
  • Currently Being Moderated
    Dec 6, 2010 11:59 AM   in reply to dfm_

    I just got this problem after installing CS4, WinXP... it popped up when trying to open an AS3 fla file.


    Solved it by LOWERING the xmx value for JAVA_TOOL_OPTIONS to 128


    To do this:


    - Open Control Panel

    - Open 'System'

    - Go the Advanced tab

    - Select Environment Variables...

    - In the 'user variables' area you should see this:




    Edit that so it's -Xmx128M


    Click OK to save


    I have no idea why this fixed it, but it did. Good luck



    Mark as:
  • Currently Being Moderated
    May 25, 2011 4:44 PM   in reply to flextnet

    Well this is a very old post but this error appear again in CS5.5, then I think is helpful retake this post

    In Flash CS5.5 the issue is solved editing the file:


    "c:\Users\current user\AppData\Local\Adobe\Flash CS5.5\en_US\Configuration\ActionScript 3.0\jvm.ini"


    and lowering the Xmx128m to 128, some times this must be rised to compile large applications with a huge amount of AS3, or to use some Flex 4.5 libs from Flash Professional


    I hope this help to CS5.5 users.

    Mark as:
  • Currently Being Moderated
    Aug 18, 2011 10:03 PM   in reply to Gat Online

    Here is the workaround, I did it with success.

    Hope it will be usefull to anybody else who has this problem too.


    My environment:



    -- Windows 7 Home Premium (32 bit)

    -- Java SE 6

    -- Flash CS5.5 Pro



    -- 4GB RAM

    -- 2x 2.5Ghz CPU
    -- 500GB HDD



    1. Uninstal Java.
    2. Uninstal Flash.

    3. Restart your computer.

    4. (optional) If you have any registry cleaner program, run it and make sure java was completely removed.

    5. Install Flash. (but do not run yet)

    6. Restart your computer.

    7. Bye Bye "Error initializing Java Runtime Environment , You may need to reinstall Flash." error.




    Best regards



    Message was edited by: tolgabasaran

    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