JAL-3416 Don't forget java bin in the correct java home
authorBen Soares <b.soares@dundee.ac.uk>
Tue, 27 Jun 2023 16:39:40 +0000 (17:39 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Tue, 27 Jun 2023 16:39:40 +0000 (17:39 +0100)
src/jalview/bin/Launcher.java

index a87d322..9ddfa0d 100644 (file)
@@ -102,6 +102,10 @@ public class Launcher
     {
       javaBin = javaBinDir + "Jalview";
     }
+    if (javaBin == null && checkJVMSymlink(javaBinDir + "java"))
+    {
+      javaBin = javaBinDir + "java";
+    }
     if (javaBin == null)
     {
       javaBin = "java";