Skip to main content
Participating Frequently
September 10, 2016
Question

No AIR 22 target when using _JAVA_OPTIONS

  • September 10, 2016
  • 0 replies
  • 273 views

Hi,

For using a large ANE I had to increase the Java memory by putting

_JAVA_OPTIONS="-Xms1024m -Xmx4096m"

in my environnement variables. It's ok and I can compile with AIR 21 (Animate CC).

But when I add AIR SDK 22, I have this in my SDK window (so it's OK) but I can't target AIR 22 from Flash, it's not visible.

I edited the adt.bat in the bin/ folder of AIR SDK 22 but still the problem. For info, I put this :

@11463107 -jar "%~dp0\..\lib\adt.jar" %*

export _JAVA_OPTIONS="-Xms1024m -Xmx4096m"

any answer is appreciated !

This topic has been closed for replies.