Page 1 of 1 [ 4 posts ]
set different JDK for different things
Author Message
Member

Joined: Tue Jun 09, 2015 8:20 am
Posts: 6
hallo
i have a question. is it possible to use different JDK version, in my case debugging using JDK 6 building using JDK 7 or 8. why? well air debugging requires JDK 6, but i need JDK 7 so the android build build tool able to read my ANE which i built using JDK 7 and i think i will switch to JDK 8.

right now i have no debugging on as3 side since the required java socket 6. i think a lot of people will be happy at least a guide are available, and even happier if there are actiual UI for this.

regards korn

Sat Jul 02, 2016 9:42 am

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Flex/AIR SDK support the specification of Java home in 'flexconfig.ini' and possibly some property file for the AIR SDK.

FD will try using Java indicated in 'flexconfig.ini' in priority (java.home=C:\path\to\java).

Sat Jul 02, 2016 8:30 pm
Member

Joined: Tue Jun 09, 2015 8:20 am
Posts: 6
thanks Philippe. i cant seem to find any documentation on this. where shoud i create this file? i'm using ascsdk 22.0.0

Fri Jul 15, 2016 9:48 am

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
AIR SDK should have a build.properties file, you can add:
Code:
java.home=C:/path/to/java

It will only be considered by FlashDevelop.

Otherwise you can just create bin\flex.config with the same variable.

Mon Jul 18, 2016 8:47 pm
Display posts from previous:  Sort by
 Page 1 of 1 [ 4 posts ]

#### Who is online

Users browsing this forum: No registered users and 2 guests

 You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forum

 Search for: