"Error initializing Java Runtime Environment. You may need to reinstall Flash"
I get this error starting up Flash Professional CS5 (on 32-bit XP). I d开发者_开发技巧on't even have to create/open a Flash file. I already reinstalled, but to no avail. Any suggestions?
I had this problem too, and thought: what if this EXE cannot reach the Java runtime environment because of a permission problem? And it is!
So, if you're running Windows 7 or Vista, make sure to open Flash by running it as an Administrator. This solved the problem for me.
I also got this when I launched Flash CS5 and found that it was due to recent JAVA upgrade. Fortunately, I backed up my HD files using Time Machine and went back and found an earlier preference file. Here's what I did.
On the Mac I replaced the JAVA Preference version 13.6.0 with an earlier version of 13.5.0 located at:
- local_HD/Applications/Utilities/Java Preferences
After replacing this file, the error message went away. I'm using a MacBookPro and OS 10.6.8.
In my case, it was Software Restriction Policy which I configured to block everything except application directories.
Adobe installs its JRE in ProgramData folder. So, I added a path rule for C:\ProgramData\Adobe\CS5\jre
to my Additional Rules.
If you do not have Software Restriction Policy configured, then this solution does not apply to you.
i had the same issue with flash professional cs5 on a mac (10.5.8). for me, it was caused by updating java, and changing the system's CurrentJDK symlink to 1.6. reverting the symlink to 1.5 made the issue go away. for those on a mac, here are the steps i followed in the terminal:
1) cd /System/Library/Frameworks/JavaVM.framework/Versions
2) sudo ln -fhsv 1.5 CurrentJDK
(requires that you've unlocked root access for your mac)
for windows, you might also try this adobe knowledge-base article: http://kb2.adobe.com/cps/405/kb405652.html
精彩评论