简体   繁体   English

如何将JDK 7添加到netbeans?

[英]How do I add JDK 7 to netbeans?

A few days ago I installed JDK 7 + NetBeans from the Oracle site. 几天前,我从Oracle站点安装了JDK 7 + NetBeans。 When I go to File -> Project Properties -> Libraries, though, the only java platform available is JDK 1.7. 但是,当我转到文件->项目属性->库时,唯一可用的Java平台是JDK 1.7。

Shouldn't JDK 7 be there? JDK 7不应该在那里吗? Is JDK 1.7 JDK 7? 是JDK 1.7 JDK 7吗? If not, how to I set it up so I can use JDK 7? 如果没有,如何设置它以便可以使用JDK 7?

JDK 7 = JDK 1.7 JDK 7 = JDK 1.7

1.7 is just the version string. 1.7只是版本字符串。

quotation: "In JDK 7 and JRE 7, the version strings are 1.7 and 1.7.0." 引用:“在JDK 7和JRE 7中,版本字符串为1.7和1.7.0。” (from : http://www.oracle.com/technetwork/java/javase/jdk7-naming-418744.html ) (摘自: http : //www.oracle.com/technetwork/java/javase/jdk7-naming-418744.html

JDK 1.7是JDK7。它们是相同的。

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

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