简体   繁体   English

适用于OS X Lion的Netbeans中的JDK 7

[英]JDK 7 in Netbeans for OS X Lion

I am in the process of learning Java and the book I am using has code that requires Java 7. I downloaded the JDK7 developer preview from Google Code so I could add it as a Platform in Netbeans, when I select the 1.7.jdk, file the Next button turns grey for some reason as you can see in the image below: 我正在学习Java,正在使用的书中包含需要Java 7的代码。我从Google Code下载了JDK7开发人员预览版,因此当我选择1.7.jdk文件时,可以将其添加为NetBeans中的Platform。出于某种原因,“ Next按钮变为灰色,如下图所示: 变灰的“下一步”按钮

What am I doing wrong? 我究竟做错了什么? Thanks! 谢谢!

请遵循这些说明,以了解如何为JDK7设置Netbean 7。

确保按SOURCES,然后单击添加平台,默认选择是CLASSES。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM