开发者

how can i set the jdk in intellij 9 on mac

I have a project on intellij and now i wanna run it on intellinj 9 on mac. when i run the project i get the error -> "the JDK is not specifiedfor module "XXXXX" specify the JDK in Configuration project". when i go there in the dependencie for module SDk there is No Project JDk. and when i click on new 开发者_StackOverflowit is just JSDK, Intellij idea plugin SDK,Flex SDK,AIR SDK, Flexmojos SDk and Mobile SDK

What can I do?


Refer to the documentation. You need to add new JSDK with the following path:

/System/Library/Frameworks/JavaVM.Framework/Versions/CurrentJDK/Home


Agreed. Going one step further, I would recommend setting up the different sdk's explicitly for Java 5, 6, etc.

On OS 10.6, use:

/System/Library/Frameworks/JavaVM.framework/Versions/1.5/Home
/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜