ebarboni commented on a change in pull request #433: [NETBEANS-417] Adjust C 
file to handle new registry layout starting with jdk9 
URL: https://github.com/apache/incubator-netbeans/pull/433#discussion_r170249345
 
 

 ##########
 File path: o.n.bootstrap/launcher/windows/jvmlauncher.cpp
 ##########
 @@ -405,6 +407,13 @@ bool JvmLauncher::findJava(const char *minJavaVersion) {
     if (findJava(JRE_KEY, "", minJavaVersion)) {
         return true;
     }
+// scan for registry for jdk/jre version 9
+    if (findJava(JDK_POST9_KEY, "", minJavaVersion)) {
+        return true;
+    }
+    if (findJava(JRE_POST9_KEY, "", minJavaVersion)) {
+        return true;
+    }
 
 Review comment:
   Adjusted to take more recent JDK first

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@netbeans.apache.org
For additional commands, e-mail: notifications-h...@netbeans.apache.org

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

Reply via email to