[libbluray-devel] bdj/linux: add new JVM search paths

hpi1 git at videolan.org
Mon Aug 27 11:36:06 CEST 2018


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Aug 27 11:41:04 2018 +0300| [e0bfb98d042d0c907fa8a78f8fa2e3c3515d5ff9] | committer: hpi1

bdj/linux: add new JVM search paths

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

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

diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c
index a49caa79..9e4120f7 100644
--- a/src/libbluray/bdj/bdj.c
+++ b/src/libbluray/bdj/bdj.c
@@ -398,11 +398,15 @@ static void *_load_jvm(const char **p_java_home)
                                             "/usr/lib/jvm/",
                                             "/etc/java-config-2/current-system-vm",
                                             "/usr/lib/jvm/java-7-openjdk",
+                                            "/usr/lib/jvm/java-7-openjdk-" JAVA_ARCH,
                                             "/usr/lib/jvm/java-8-openjdk",
+                                            "/usr/lib/jvm/java-8-openjdk-" JAVA_ARCH,
                                             "/usr/lib/jvm/java-6-openjdk",
     };
     static const char * const jvm_dir[]  = {"jre/lib/" JAVA_ARCH "/server",
-                                            "lib/server"};
+                                            "lib/server",
+                                            "lib/client",
+    };
 #  endif
     static const char         jvm_lib[]  = "libjvm";
 # endif



More information about the libbluray-devel mailing list