Commit 008d084e authored by hpi1's avatar hpi1

Add some common paths for JVM in linux

parent 79f3033e
......@@ -154,7 +154,11 @@ static void *_load_jvm(const char **p_java_home)
static const char jvm_dir[] = "jre/bin/server";
static const char jvm_lib[] = "jvm";
# else
static const char *jvm_path[] = {NULL, JDK_HOME, "/usr/lib/jvm/default-java/"};
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",
"/etc/java-config-2/current-system-vm"};
static const char jvm_dir[] = "jre/lib/" JAVA_ARCH "/server";
static const char jvm_lib[] = "libjvm";
# endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment