[libbluray-devel] bdj: update linux Java search path list and preferred JVM
hpi1
git at videolan.org
Thu Apr 28 15:48:42 CEST 2016
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Apr 28 16:44:26 2016 +0300| [448eb757893e3875336004ca8375eb1219b72634] | committer: hpi1
bdj: update linux Java search path list and preferred JVM
1) JAVA_HOME
2) System default JVM
3) OpenJDK 7
4) OpenJDK 8
5) OpenJDK 6
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=448eb757893e3875336004ca8375eb1219b72634
---
src/libbluray/bdj/bdj.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c
index 6ad6b59..ef82ee4 100644
--- a/src/libbluray/bdj/bdj.c
+++ b/src/libbluray/bdj/bdj.c
@@ -202,9 +202,11 @@ static void *_load_jvm(const char **p_java_home)
# else
static const char *jvm_path[] = {NULL, JDK_HOME,
"/usr/lib/jvm/default-java",
- "/usr/lib/jvm/java-6-openjdk",
- "/usr/lib/jvm/java-7-openjdk",
+ "/usr/lib/jvm/default",
"/etc/java-config-2/current-system-vm",
+ "/usr/lib/jvm/java-7-openjdk",
+ "/usr/lib/jvm/java-8-openjdk",
+ "/usr/lib/jvm/java-6-openjdk",
};
static const char jvm_dir[] = "jre/lib/" JAVA_ARCH "/server";
static const char jvm_lib[] = "libjvm";
More information about the libbluray-devel
mailing list