You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Edoardo Panfili (JIRA)" <ji...@apache.org> on 2019/07/11 18:14:00 UTC

[jira] [Created] (NETBEANS-2827) Cannot find JDK despite the presence of setted JAVA_HOME in windows 10

Edoardo Panfili created NETBEANS-2827:
-----------------------------------------

             Summary: Cannot find JDK despite the presence of setted JAVA_HOME in windows 10
                 Key: NETBEANS-2827
                 URL: https://issues.apache.org/jira/browse/NETBEANS-2827
             Project: NetBeans
          Issue Type: Bug
          Components: platform - Execution
    Affects Versions: 11.1
         Environment: Windows 10 in Virtualbox
            Reporter: Edoardo Panfili


When I try to launch netbeans64.exe in windows 10 appears a dialog saying "Cannot find Java 1.8 or higher" and the IDE doesn't starts.

I have the JDK12 (but the same with JDK11) from AdoptOpenJDK installed in C:\Program Files\AdoptOpenJDK\jdk-12.0.1.12-hotspot\ and the variable JAVA_HOME points the the correct folder (I can verify this using "set" in cmd).

 

The possible workaround is to copy the value of JAVA_HOME in netbeans_jdkhome inside etc/netbeans.conf but is not so obvious for new users.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists