This photograph is taken at Sydney, Australia, 2004. 


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

Leave a Reply

Enter this code

 

Klaasjan Tukker

Klaasjan Tukker


Business Development Manager
Adobe Systems Benelux




Chairman
NLJUG
    follow me on Twitter


    Founded in 1998, the Dutch Java User Group consists of business partners, software developers, application architects, technical managers, students, and new media developers that have a common interest in all aspects of Java Technology.

    Klaasjan Tukker is Chairman of the NL-JUG, Dutch Java User Group
    All content including photographs Copyright ©2005 Klaasjan Tukker
    The picture in the header is a photograph taken at Sydney, Australia, 2004.