[libbluray-devel] [PATCH] Add a suitable JVM path for Fedora/RHEL and clones

Xavier Bachelot xavier at bachelot.org
Wed Nov 30 18:26:27 CET 2016


Signed-off-by: Xavier Bachelot <xavier at bachelot.org>
---
 src/libbluray/bdj/bdj.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c
index 5287a75..d3d4c43 100644
--- a/src/libbluray/bdj/bdj.c
+++ b/src/libbluray/bdj/bdj.c
@@ -213,6 +213,7 @@ static void *_load_jvm(const char **p_java_home)
     static const char *jvm_path[] = {NULL, JDK_HOME,
                                      "/usr/lib/jvm/default-java",
                                      "/usr/lib/jvm/default",
+                                     "/usr/lib/jvm/",
                                      "/etc/java-config-2/current-system-vm",
                                      "/usr/lib/jvm/java-7-openjdk",
                                      "/usr/lib/jvm/java-8-openjdk",
-- 
2.9.3



More information about the libbluray-devel mailing list