Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Yet again: "Error initializing Java Runtime Environment. You may need to reinstall Flash."

Community Beginner ,
Aug 28, 2017 Aug 28, 2017

I've seen this a few times on the forum, but almost always for another Adobe program.

The facts are:

  • Adobe Animate, build 16, 2017.1 release.
  • We have already reinstalled Flash (currently running Flash 26). We have reloaded the program, and tried restarting everything.
  • The project is a short test project; HTML5 Canvas. Testing and export were all tested in IE and Chrome (same results).
  • If I include any Action script, the error occurs. An example basic Action such as the HTML5 Canvas script:   this.stop();
  • The project tests and exports as movie okay if I include nothing in "Actions". Project tests in browser okay with some kinds of Action scripts, but always gives error during Export. If I add the Action script I want to use, the project test shows only the canvas color background, and nothing else (and if I export with that desired script, the error occurs).

Perhaps related: In an ActionScript 3.0 project, any ActionScript project gives me the same error if I include any ActionScript Actions, both during test and export.

3.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
Dec 10, 2017 Dec 10, 2017

Hello, guys!

I have suffered the same issue for several days, changing jvm.ini, pathes, and so on...

But none of these tweaks worked for me! This annoying problem remained as a tick!

And later I found another solution in one russian forum.

Some guy have written that his Windows7 (x64) lacks those packages:

Microsoft Visual C++ 2010 Redistributable - x86 10.0.40219   (x32)

Microsoft Visual C++ 2010 Redistributable - x64 10.0.40219  

Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161   (x32)

...
Translate
Community Expert ,
Aug 28, 2017 Aug 28, 2017

create a new jvm.ini file with a text editor (eg, notepad) and add

-Djava.awt.headless=true

-Xmx1024m

replace your jvm.ini file C:\Program Files\Adobe\Adobe Animate CC 2017

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 28, 2017 Aug 28, 2017

Thank you, kglad!

I failed to say that I did try deleting and editing the existing the jvi.ini files.

However, the locations (in case it matters) were here:

  • C:\Program Files\Adobe\Adobe Animate CC 2017\Common\First Run\ActionScript 3.0\
  • C:\Users\myusername\AppData\Local\Adobe\Animate CC 2017\en_US\Configuration\ActionScript 3.0\
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Aug 28, 2017 Aug 28, 2017

uninstall animate cc including preferences, https://helpx.adobe.com/creative-cloud/help/uninstall-remove-app.html

restart your computer (don't skip this)

reinstall animate cc

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 06, 2017 Nov 06, 2017

kglad:

Sorry for the very delayed response. My requires a special IT request to uninstall, and then again to reinstall. It took a while!

Unfortunately, I have the same results after reinstalling Adobe Animate.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 06, 2017 Nov 06, 2017

send a message to Preran​ per message 4.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Aug 30, 2017 Aug 30, 2017

Thank you for trying all the solutions. If you still need help, send me your Adobe ID, location, and phone number over a private message along with a URL to this post. To send a private message, click my picture and use the Message button. We will get in touch with you for further investigation.

Thanks,

Preran

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 10, 2017 Dec 10, 2017
LATEST

Hello, guys!

I have suffered the same issue for several days, changing jvm.ini, pathes, and so on...

But none of these tweaks worked for me! This annoying problem remained as a tick!

And later I found another solution in one russian forum.

Some guy have written that his Windows7 (x64) lacks those packages:

Microsoft Visual C++ 2010 Redistributable - x86 10.0.40219   (x32)

Microsoft Visual C++ 2010 Redistributable - x64 10.0.40219  

Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.6161   (x32)

Microsoft Visual C++ 2008 Redistributable - x64 9.0.30729.6161

I had one of them, but to act for sure I have reinstalled a huge bundle of these.

And, holly crap, bingo! This disgusting error vanished, and export to swf begin to work!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines