Error Cannot find Java 1.5 or higher

Asked By 20 points N/A Posted on -

Hi Experts,

I am getting this error message ‘cannot find Java 1.5 or higher’ when I run a simple program in netbeans. This error is not happening when I run it in the Java_Home environment. What might be the problem in this case? Does anybody facing this problem? Not able to track the error, please help. Thanks.


Cannot find Java 1.5 or higher

Answered By 10 points N/A #185709

Error Cannot find Java 1.5 or higher


First of all ensure that both the environment variable is set correctly.

PATH = "%JAVA_HOME%bin" for Windows

JAVA_HOME = “C:Program FilesJavajdk<version>”

Find the location of the "netbeans.conf" file by performing a search. Edit the file and change the value of the netbeans_jdkhome ="C:Program FilesJava jdk<version>”

I think this should solve the problem.

Login/Register to Answer

Related Questions