在 NetBeans 中,如何更改默认 JDK? [英] In NetBeans how do I change the Default JDK?

查看:27
本文介绍了在 NetBeans 中,如何更改默认 JDK?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可能的重复:
更改运行 Netbeans 的 Java 平台

这是我的默认 JDK(1.6)和我想设置为默认的 JDK(1.7)的图像

Here is an image of my default JDK (which is 1.6) and the JDK I want to set as default (which is 1.7)

http://tinypic.com/view.php?pic=35ldlye&s=5

推荐答案

如果我没记错的话,您需要在您的 netbeans 配置文件中设置 netbeans_jdkhome 属性.应该在您的 etc/netbeans.conf 文件中.

If I remember correctly, you'll need to set the netbeans_jdkhome property in your netbeans config file. Should be in your etc/netbeans.conf file.

这篇关于在 NetBeans 中,如何更改默认 JDK?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆