Forge and NeoForge installers fail on Minecraft 1.21.1 with UnsupportedClassVersionError

Abierto
#8,118 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
52/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java, rust
Área
backend

Línea de trabajo

Start by tracing how the app selects the managed Java runtime and passes it to Forge and NeoForge loader processors; the report names no source files or tests. Compare the required class file version 70 with the runtime's maximum of 65, then check where loader metadata or installer runtime compatibility is determined. Done means Forge 52.1.20 and NeoForge 21.1.265 can install Minecraft 1.21.1 with the supported runtime.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

app
Please confirm the following.
  • I checked the existing issues for duplicate problems
  • I have tried resolving the issue using the support portal
  • I have ensured my Modrinth App installation is up to date
What version of the Modrinth App are you using?

0.22.0

What operating systems are you seeing the problem on?

Windows

Describe the bug

I'm using Modrinth App 0.22.0 on Windows 11. Fabric works normally, but both Forge and NeoForge fail when installing Minecraft 1.21.1, including in clean, newly created instances

java.lang.UnsupportedClassVersionError: net/minecraftforge/installertools/ConsoleTool has been compiled by a more recent version of the Java Runtime (class file version 70.0), this version of the Java Runtime only recognizes class file versions up to 65.0

Java 21 is installed through Modrinth's managed Java installations. Clearing the cache and reinstalling Java 21 did not fix the issue.

Reproduced with:

NeoForge 21.1.265

Forge 52.1.20

Both fail during loader processors. This appears to be a shared installer runtime or metadata compatibility issue.

Steps to reproduce

Create a new instance in either Neoforge or Forge

If it works, continue and start the game

Expected behavior

Install fails, or fails when launching

Additional context

No response

Lenguaje dominante
Rust
Estrellas
2.5k
Forks
663
Merge medio
2 d 11 h
PR fusionados (30 d)
122

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de modrinth/code

Todos los issues de modrinth/code

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.