Hi im on a Win 7 64bit system (Clean install), I just downloaded the Flash Pro CS5 trial today - however when I start the program I get the following message as soon as the UI pops up and prevents me from running AS3 code when compiling files:
Error initializing Java Runtime Environment. You may need to reinstall Flash.
All I did was run the program. I tired updating it (update worked but still got the message at start up), I tired installing and uninstalling it, I tried uninstalling and installing different versions of Java and various existing solutions.
Also I used Adobe's clean up Script for CS5.
Does anyone know the answer to eliminating the error message?
Ok n/m I answered my own question through experimenting - the soloution is:
right-click and set compatability to "Windows XP: SP3"
the only thing is the admin pop up will ask you to verify you asked to open the prog when u open flash - just click yes and all is well....dumb wasn't it?
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.
Got this on XP just a couple of days ago for the first time. Registry-surfing suggested that Flash Pro CS5 is expecting to find a JRE, specifically v1.6.0_16, at "C:\Documents and Settings\All Users\Application Data\Adobe\CS5\jre". Went to java.sun.com, through "Previous Releases", collected a copy of JRE 1.6.0_16, installed it, replicated the file-tree installed (from somewhere like C:\Program Files\Java\jre1.6.0_16") to the above path...
No more error message! Not sure exactly what the path you'll need is for Windows 7, but something like the above has to be worth a shot.