Code

Make linux JVM search a little smarter, taking Ted's advice for IcedTea
authorishmal <ishmal@users.sourceforge.net>
Thu, 13 Mar 2008 18:50:06 +0000 (18:50 +0000)
committerishmal <ishmal@users.sourceforge.net>
Thu, 13 Mar 2008 18:50:06 +0000 (18:50 +0000)
src/bind/javabind.cpp

index 1424a527b457cc60ce67519c42c95b071d6b5018..b142efd5425e4429d899eed8f0f201070a3b8e6c 100644 (file)
@@ -473,10 +473,12 @@ static bool findJVMRecursive(const String &dirpath,
 
 static const char *commonJavaPaths[] =
 {
-    "/usr/java",
-    "/usr/local/java",
+    "/usr/lib/jvm/jre",
     "/usr/lib/jvm",
+    "/usr/local/lib/jvm/jre",
     "/usr/local/lib/jvm",
+    "/usr/java",
+    "/usr/local/java",
     NULL
 };