如题
pojav返回错误信息:
java.lang.RuntimeException: Failed to autopick runtime!
at net.kdt.pojavlaunch.Tools.pickRuntime(Tools.java:1102)
at net.kdt.pojavlaunch.Tools.launchMinecraft(Tools.java:197)
at net.kdt.pojavlaunch.MainActivity.runCraft(MainActivity.java:355)
at net.kdt.pojavlaunch.MainActivity.lambda$initLayout$4$net-kdt-pojavlaunch-MainActivity(MainActivity.java:210)
at net.kdt.pojavlaunch.MainActivity$$ExternalSyntheticLambda14.isReady(Unknown Source:6)
at net.kdt.pojavlaunch.MinecraftGLSurface.lambda$realStart$0$net-kdt-pojavlaunch-MinecraftGLSurface(MinecraftGLSurface.java:375)
at net.kdt.pojavlaunch.MinecraftGLSurface$$ExternalSyntheticLambda0.run(Unknown Source:2)
at java.lang.Thread.run(Thread.java:932)
@一只MCKLP 运行结果:
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.io.File.getAbsolutePath()' on a null object reference
at net.kdt.pojavlaunch.utils.JREUtils.launchJavaVM(JREUtils.java:401)
at net.kdt.pojavlaunch.Tools.launchMinecraft(Tools.java:218)
at net.kdt.pojavlaunch.MainActivity.runCraft(MainActivity.java:398)
at net.kdt.pojavlaunch.MainActivity.lambda$initLayout$7$net-kdt-pojavlaunch-MainActivity(MainActivity.java:244)
at net.kdt.pojavlaunch.MainActivity$$ExternalSyntheticLambda20.isReady(D8$$SyntheticClass:0)
at net.kdt.pojavlaunch.MinecraftGLSurface.lambda$realStart$0$net-kdt-pojavlaunch-MinecraftGLSurface(MinecraftGLSurface.java:368)
at net.kdt.pojavlaunch.MinecraftGLSurface$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0)
at java.lang.Thread.run(Thread.java:932)