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?
Thanks
Gat
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:
JAVA_TOOL_OPTIONS, -Xmx256M
Edit that so it's -Xmx128M
Click OK to save
I have no idea why this fixed it, but it did. Good luck
-rich
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.
Here is the workaround, I did it with success.
Hope it will be usefull to anybody else who has this problem too.
My environment:
::Software
-- Windows 7 Home Premium (32 bit)
-- Java SE 6
-- Flash CS5.5 Pro
::Hardware
-- 4GB RAM
-- 2x 2.5Ghz CPU
-- 500GB HDD
::Workaround
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.
8. !!! IMPORTANT !!! NEVER UPDATE JAVA!
Best regards
-Tolga.
Message was edited by: tolgabasaran
North America
Europe, Middle East and Africa
Asia Pacific