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

dx tool failed: Could not create the Java virtual machine - adobe air 26

Contributor ,
Aug 17, 2017 Aug 17, 2017

Copy link to clipboard

Copied

When I try to publish an ADK using the ADT command with air 26 I get this error:

dx tool failed: Could not create the Java virtual machine

Some users had the same issue publishing in animate here: Re: dx tool failed: Could not create the Java virtual machine

Re: dx tool failed: Could not create the Java virtual machine

However the suggested solution of using an old version of java didn't work for me. I tried installing jre8u74. Got the same error. The odd thing is I can publish using animate using air 26 with no error. However, when using the command line to publish android I get this error. This doesn't make sense. Has anyone encountered this with air 26 or has something become corrupt in my installs?

Thanks!

TOPICS
Development

Views

3.1K

Translate

Translate

Report

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 23, 2017 Aug 23, 2017

Copy link to clipboard

Copied

I use java 1.8.0.101 (64bit) is ok. And edit air sdk folder ..\26.0.0\bin\adt.bat  

-jar "%~dp0\..\lib\adt.jar" %*  -------> "C:\Program Files\Java\jre1.8.0_101\bin\java.exe" -jar "%~dp0\..\lib\adt.jar" %*

Votes

Translate

Translate

Report

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
Contributor ,
Aug 24, 2017 Aug 24, 2017

Copy link to clipboard

Copied

Thank you for your reply. I believe I solved this by installing the newest version of java. If it crops up again I'll try your solution.

Votes

Translate

Translate

Report

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 02, 2019 Nov 02, 2019

Copy link to clipboard

Copied

LATEST

the java JRE its the same of the JDK?

Votes

Translate

Translate

Report

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