diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java index 903e14a23..44ada7b96 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java @@ -177,9 +177,9 @@ public class JREUtils Log.i("jrelog-logcat","Logcat thread started"); } - public static void relocateLibPath(final LoggableActivity ctx) throws Exception { + public static void relocateLibPath(final Context ctx) throws Exception { if (JRE_ARCHITECTURE == null) { - JRE_ARCHITECTURE = ctx.jreReleaseList.get("OS_ARCH"); + JRE_ARCHITECTURE = readJREReleaseProperties().get("OS_ARCH"); if (JRE_ARCHITECTURE.startsWith("i") && JRE_ARCHITECTURE.endsWith("86") && Tools.CURRENT_ARCHITECTURE.contains("x86") && !Tools.CURRENT_ARCHITECTURE.contains("64")) { JRE_ARCHITECTURE = "i386/i486/i586"; }