View unanswered posts | View active topics



Reply to topic  [ 4 posts ] 
set different JDK for different things 
Author Message
Member

Joined: Tue Jun 09, 2015 8:20 am
Posts: 6
Reply with quote
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
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
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
Profile WWW
Member

Joined: Tue Jun 09, 2015 8:20 am
Posts: 6
Reply with quote
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
Profile
Admin

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
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
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 8 guests


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

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.