Fallback to preload all JRE libraries

This commit is contained in:
khanhduytran0
2020-10-17 18:15:43 +07:00
parent 5e6b1124f2
commit 71e0bdc864

View File

@@ -30,16 +30,15 @@ public class JREUtils
public static void initJavaRuntime() {
dlopen(findInLdLibPath("libjli.so"));
/*
dlopen(findInLdLibPath("libjvm.so"));
dlopen(findInLdLibPath("libverify.so"));
dlopen(findInLdLibPath("libjava.so"));
// dlopen(findInLdLibPath("/lib/libjsig.so"));
// dlopen(findInLdLibPath("libjsig.so"));
dlopen(findInLdLibPath("libnet.so"));
dlopen(findInLdLibPath("libnio.so"));
dlopen(findInLdLibPath("libawt.so"));
dlopen(findInLdLibPath("libawt_headless.so"));
*/
dlopen(nativeLibDir + "/libopenal.so");
if (LauncherPreferences.PREF_CUSTOM_OPENGL_LIBNAME.equals("libgl04es.so")) {