Links
Tags
Creators
Details
3.21.1(FIX)
Compatibility
Changes
V3.21.1-(1.21.X) J21 (REPORT)
sorry( I finally found your report
---REPORT
Hello,
I am trying to run LiteGrenades-3.21(1.21.X) on a Purpur 1.21.8 (Minecraft 1.21.8) server on Windows 11 using Java 21 (OpenJDK 64-Bit Server VM 21.0.8 LTS, Eclipse Adoptium Temurin).
When loading the plugin, I get the following error:
java.lang.UnsupportedClassVersionError: net/swetychek/litegrenades/Main has been compiled by a more recent version of the Java Runtime (class file version 67.0), this Java version only supports class file versions up to 65.0
The server runs fine on Java 21, but the plugin fails to load.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:IlQawXn4:bpOnN2Lt"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:IlQawXn4:bpOnN2Lt"
}

