NetBeans invalid jdkhome specified 问题解决方法
2016-03-26 16:10
393 查看
JDK的路径变化会导致 NetBeans 启动时出现错误:
解决办法:
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.
解决办法:
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.
相关文章推荐
- 20145305 《Java程序设计》第4周学习总结
- Java并发编程
- java.lang.IllegalArgumentException: Does not contain a valid host :port authority
- 多线程详解java.util.concurrent
- Mybatis与Spring整合连接MySQL
- jdk\willy\集群安装
- java之子类继承抽象类,子类构造器调用抽象类构造器问题
- JAVA两个大数相乘
- 20145219 《Java程序设计》第04周学习总结
- 对java中int与Integer的一些理解
- Java中的抽象类和接口
- Spring的依赖注入
- 管理Java垃圾回收的五个建议
- 错误:java.lang.UnsupportedClassVersionError: Bad version number in .class file
- SVN工具的使用 和在Eclipse中安装GPD插件:(多步审批流,因此选择使用工作流(JBPM)来实现)
- java测试URL是否连通的方法
- 20145218 《Java程序设计》第四周学习总结
- struts的DevMode模式问题
- Java Vector 类
- java中静态代码块的用法 static用法详解