[libbluray-devel] bdj: add new jvm dir for Linux OpenJDK 9

hpi1 git at videolan.org
Fri Dec 22 09:27:12 CET 2017


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Dec 21 12:32:34 2017 +0200| [e4b7d218f12e918308ed5479b366182a07dd2fb2] | committer: hpi1

bdj: add new jvm dir for Linux OpenJDK 9

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=e4b7d218f12e918308ed5479b366182a07dd2fb2
---

 src/libbluray/bdj/bdj.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c
index 511ad533..27dcb9be 100644
--- a/src/libbluray/bdj/bdj.c
+++ b/src/libbluray/bdj/bdj.c
@@ -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



More information about the libbluray-devel mailing list