Skip to content

1.0.6 — 26.x 的 Java 25 版本提示

Choose a tag to compare

@Kynarain Kynarain released this 29 Nov 23:08
· 7 commits to main since this release

1.0.6: warn when a 26.x line does not run on Java 25

A user launch of 26.3-Forge-pretest via PCL failed with a JVM fatal error, not a Java exception:

EXCEPTION_ACCESS_VIOLATION at StubRoutines::jbyte_disjoint_arraycopy_stub
JRE version: Java 27.0+35, UseZGC=true, UseCompactObjectHeaders=true

The game started and entered a singleplayer world on Java 27, then the JVM died natively after about four minutes.
Minecraft 26.x targets Java 25; the same client runs cleanly on Java 25 (verified in-world for several minutes).

JarGuide now reports this plainly: on a 26.x line with a JVM other than 25 it logs

[OptiForge] WARNING: Minecraft 26.3 runs on Java 25 but this JVM is Java 27 - 26.x on newer JVMs has crashed
natively (Java 27 with -XX:+UseZGC -XX:+UseCompactObjectHeaders), so point the launcher at a Java 25 runtime

Also re-checked: the bug is configuration only; nothing in OptiForge or OptiFine is involved.