程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> JAVA編程 >> JAVA綜合教程 >> NetBeans invalid jdkhome specified 問題解決方法,netbeansjdkhome

NetBeans invalid jdkhome specified 問題解決方法,netbeansjdkhome

編輯:JAVA綜合教程

NetBeans invalid jdkhome specified 問題解決方法,netbeansjdkhome


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.

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved