你的位置:首页 > 软件开发 > Java > NetBeans invalid jdkhome specified 问题解决方法

NetBeans invalid jdkhome specified 问题解决方法

发布时间:2016-03-26 17:00:13
JDK的路径变化会导致 NetBeans 启动时出现错误: 解决办法: There’s is an easy way to fix this. Navigate to your NetBeans installation folder which by default ...

NetBeans invalid jdkhome specified 问题解决方法

JDK的路径变化会导致 NetBeans 启动时出现错误:

NetBeans invalid jdkhome specified 问题解决方法

 

解决办法:

There’s is an easy way to fix this. Navigate to your NetBeans installation folder which by default should be C:\Program Files\NetBeans and look for the folder etc. Inside that folder should be a file with the name netbeans.conf. What you need to do is to open the file with your favorite text reader (notepad as an example) and look for the line that starts with netbeans_jdkhome=.

You simply need to modify the line in order to point Netbeans to the the location of the java jdk version you are currently have installed. It should look something like this netbeans_jdkhome=”C:\Program Files\Java\jdk1.7.0_05″. If you are unsure what version you have installed navigate to your java’s installation folder (the default path is C:\Program Files\Java) and look for folder there.

原标题:NetBeans invalid jdkhome specified 问题解决方法

关键词:jdk

jdk
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。