Highlighted

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

Contributor ,
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

2.5K

Likes

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

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

Contributor ,
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

2.5K

Likes

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
Aug 17, 2017 1
Community Beginner ,
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" %*

Likes

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
Reply
Loading...
Aug 23, 2017 0
Contributor ,
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.

Likes

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
Reply
Loading...
Aug 24, 2017 0
Community Beginner ,
Nov 02, 2019

Copy link to clipboard

Copied

the java JRE its the same of the JDK?

Likes

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
Reply
Loading...
Nov 02, 2019 0