Startup Issue with Minecraft - Can't install/update Neoforge

System Information

Field Value
Operating System Linux - Debian GNU/Linux 13 on x86_64
Product AMP ‘Proteus’ v2.8.0.4 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Failed

Problem Description

Issue

edit 8/10/26: Not sure what the etiquette is for these posts, but I’d like to close this because most of my variety of errors were attributed to deeper networking errors (like not having an IPv6 address to ping maven.neoforged.net with, for starters) and my current issues are much further down the line.

Have already attempted stopping instance, deleting NeoForgeVersionManifest.xml, then starting instance. Download does not work on further attempts. Deleted instance and created new one multiple times with no result. Different crash results with different tweaks. Attempting on jdk 25. Here are the errors I’m able to pull.

Exception in thread “main” java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at MC-BOOTSTRAP/cpw.mods.modlauncher@11.0.5/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:32)
at MC-BOOTSTRAP/cpw.mods.modlauncher@11.0.5/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
at MC-BOOTSTRAP/cpw.mods.modlauncher@11.0.5/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
at MC-BOOTSTRAP/cpw.mods.modlauncher@11.0.5/cpw.mods.modlauncher.Launcher.run(Launcher.java:103)
at MC-BOOTSTRAP/cpw.mods.modlauncher@11.0.5/cpw.mods.modlauncher.Launcher.main(Launcher.java:74)
at MC-BOOTSTRAP/cpw.mods.modlauncher@11.0.5/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/cpw.mods.modlauncher@11.0.5/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at cpw.mods.bootstraplauncher@2.0.2/cpw.mods.bootstraplauncher.BootstrapLauncher.run(BootstrapLauncher.java:210)
at cpw.mods.bootstraplauncher@2.0.2/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:69)
Caused by: java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:119)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at MC-BOOTSTRAP/fml_loader@4.0.43/net.neoforged.fml.loading.targets.CommonLaunchHandler.runTarget(CommonLaunchHandler.java:136)
at MC-BOOTSTRAP/fml_loader@4.0.43/net.neoforged.fml.loading.targets.CommonLaunchHandler.serverService(CommonLaunchHandler.java:128)
at MC-BOOTSTRAP/fml_loader@4.0.43/net.neoforged.fml.loading.targets.CommonServerLaunchHandler.runService(CommonServerLaunchHandler.java:32)
at MC-BOOTSTRAP/fml_loader@4.0.43/net.neoforged.fml.loading.targets.CommonLaunchHandler.lambda$launchService$4(CommonLaunchHandler.java:118)
at MC-BOOTSTRAP/cpw.mods.modlauncher@11.0.5/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
… 8 more
Caused by: java.lang.NoClassDefFoundError: net/minecraft/world/level/levelgen/SurfaceRules$YConditionSource
at TRANSFORMER/minecraft@1.21.1/net.minecraft.world.level.levelgen.SurfaceRules$ConditionSource.bootstrap(SurfaceRules.java:427)
at TRANSFORMER/minecraft@1.21.1/net.minecraft.core.registries.BuiltInRegistries.lambda$internalRegister$48(BuiltInRegistries.java:319)
at TRANSFORMER/minecraft@1.21.1/net.minecraft.core.registries.BuiltInRegistries.lambda$createContents$49(BuiltInRegistries.java:332)
at java.base/java.util.LinkedHashMap.forEach(LinkedHashMap.java:987)
at TRANSFORMER/minecraft@1.21.1/net.minecraft.core.registries.BuiltInRegistries.createContents(BuiltInRegistries.java:331)
at TRANSFORMER/minecraft@1.21.1/net.minecraft.core.registries.BuiltInRegistries.bootStrap(BuiltInRegistries.java:325)
at TRANSFORMER/minecraft@1.21.1/net.minecraft.server.Bootstrap.bootStrap(Bootstrap.java:53)
at TRANSFORMER/minecraft@1.21.1/net.minecraft.server.Main.main(Main.java:120)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
… 14 more
Caused by: java.lang.ClassNotFoundException: net.minecraft.world.level.levelgen.SurfaceRules$YConditionSource
at cpw.mods.securejarhandler/cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:220)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:490)
… 23 more

and

Failed to request yggdrasil public key

com.mojang.authlib.exceptions.MinecraftClientException: Failed to read from https://api.minecraftservices.com/publickeys due to Network is unreachable
	at MC-BOOTSTRAP/authlib@6.0.54/com.mojang.authlib.minecraft.client.MinecraftClient.readInputStream(MinecraftClient.java:108) ~[authlib-6.0.54.jar%2398!/:?] {}
	at MC-BOOTSTRAP/authlib@6.0.54/com.mojang.authlib.minecraft.client.MinecraftClient.get(MinecraftClient.java:57) ~[authlib-6.0.54.jar%2398!/:?] {}
	at MC-BOOTSTRAP/authlib@6.0.54/com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo.fetch(YggdrasilServicesKeyInfo.java:114) [authlib-6.0.54.jar%2398!/:?] {}
	at MC-BOOTSTRAP/authlib@6.0.54/com.mojang.authlib.yggdrasil.YggdrasilServicesKeyInfo$1.run(YggdrasilServicesKeyInfo.java:89) [authlib-6.0.54.jar%2398!/:?] {}
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:545) [?:?] {}
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:328) [?:?] {}
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:309) [?:?] {}
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1090) [?:?] {}
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:614) [?:?] {}
	at java.base/java.lang.Thread.run(Thread.java:1474) [?:?] {}
Caused by: java.net.SocketException: Network is unreachable

Reproduction Steps

  • New instance, Minecraft Java. Start until console outputs complete. Stop. Update. Start then stop.
  • Open store beta and attempt to install FTB Stoneblock 4. Download appears to complete but no noticeable differences in file manager.
  • Attempt to configure server to Neoforge 21.1.243 with server JAR autoselect. Download/update of Neoforge begins but doesn’t appear to complete properly.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.