Click here to Skip to main content
14,301,556 members
Rate this:
Please Sign up or sign in to vote.
See more:
java netbeans cannot find java 1.8 or higher

while installing java netbeans the alert says "cannot find java 1.8 or higher"

What I have tried:

java development kit added java and restarted the computer
Updated 19-Aug-19 7:17am
Richard MacCutchan 17-Aug-19 12:18pm
Where is the JDK installed?
four systems 17-Aug-19 12:51pm
Mohibur Rashid 17-Aug-19 12:55pm
You need to mention OS too.

Anyway, windows or linux
set JAVA_HOME environment variable
for bash
export JAVA_HOME=/usr/local/jdk1.8

for windows
you have to set using computer property.
four systems 18-Aug-19 11:14am
windows cool would try that thancs

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

the sw had netbeans and netbeans64 earlier clicked on netbeans64 thought it was for 64 bit os which have now clicked on netbeans netbeans is installed now

thought the process should be automatic

thancs for replies

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100