Replies: 2 comments
-
Seems to be because of Forge 1.16 and before having problems with newer java versions. - !sudo apt-get install adoptopenjdk-16-openj9 &>/dev/null && echo "Yay! Openjdk16 has been successfully installed." || echo "Failed to install OpenJdk16."
to
+ !sudo apt-get install adoptopenjdk-8-hotspot &>/dev/null && echo "Yay! Openjdk8 has been successfully installed." || echo "Failed to install OpenJdk16." and ignore the error saying java-16 isn't installed. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello, If you don't might, try this: https://github.com/N-aksif-N/MineColab_Improved |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I try to start a forge server (1.16.5 i think) it shows this at the start :
Starting server...
[08:46:52] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.2.2, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui]
[08:46:52] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16.0.1 by AdoptOpenJDK
Exception in thread "main" java.lang.IllegalAccessError: Class cpw/mods/modlauncher/SecureJarHandler(unnamed module 0x000000074C5133B8) can not access class sun/security/util/ManifestEntryVerifier(module java.base) because module module java.base does not export package sun/security/util to module unnamed module 0x000000074C5133B8
at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:41)
at cpw.mods.modlauncher.SecureJarHandler$$Lambda$127/0x000000005808add8.get(Unknown Source)
at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)
at cpw.mods.modlauncher.SecureJarHandler.(SecureJarHandler.java:41)
at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)
at cpw.mods.modlauncher.Launcher$$Lambda$125/0x0000000058087cc0.apply(Unknown Source)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)
at cpw.mods.modlauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:47)
at cpw.mods.modlauncher.Environment.computePropertyIfAbsent(Environment.java:62)
at cpw.mods.modlauncher.Launcher.(Launcher.java:55)
at cpw.mods.modlauncher.Launcher.main(Launcher.java:66)
at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
Beta Was this translation helpful? Give feedback.
All reactions