bdj: add new jvm dir for Linux OpenJDK 9
authorhpi1 <hpi1@anonymous.org>
Thu, 21 Dec 2017 10:32:34 +0000 (12:32 +0200)
committerhpi1 <hpi1@anonymous.org>
Thu, 21 Dec 2017 10:32:34 +0000 (12:32 +0200)
src/libbluray/bdj/bdj.c

index 511ad53..27dcb9b 100644 (file)
@@ -387,7 +387,8 @@ static void *_load_jvm(const char **p_java_home)
                                             "/usr/lib/jvm/java-8-openjdk",
                                             "/usr/lib/jvm/java-6-openjdk",
     };
-    static const char * const jvm_dir[]  = {"jre/lib/" JAVA_ARCH "/server"};
+    static const char * const jvm_dir[]  = {"jre/lib/" JAVA_ARCH "/server",
+                                            "lib/server"};
 #  endif
     static const char         jvm_lib[]  = "libjvm";
 # endif