Flash CS3 - Error initalizing Java Runtime Environment
Yesterday, I ran into a problem where I tried to create a Flash movie containing a movieclip. While exporting I got the error : “Error initializing Java Runtime Environment. You may need to reinstall Flash.” I did some more investigation and the same error appeared when I drag a movieclip to the stage.
I also run a Java IDE accidentally and recently installed Java6 on my MacBook Pro. That is where the issue is. Check the following:
ktukker-mbp:Versions ktukker$ ls -al /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
lrwxr-xr-x 1 root wheel 3 23 mei 08:14 /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK -> 1.6
If the CurrentJDK is linked to 1.6 Flash CS3 can’t start a 32bit JVM (dunno why it needs it, but it does on a Mac).
Execute:
cd /System/Library/Frameworks/JavaVM.framework/Versions/
sudo rm CurrentJDK
sudo ln –s 1.5 CurrentJDK




