Jump to content

Forge on Raspberry Pi


MGADDICT

Recommended Posts

I have been running a vanilla Minecraft server for a while on a Raspberry Pi 4 with 4GB RAM. It actually runs great with my whole family on at the same time.

I thought I would try turning it into a forge server but it WILL NOT RUN. This is all I get...

root@ubuntu:/opt/minecraft# java -jar -Xms1G -Xmx3G forge-1.14.4-28.1.0.jar nogui
[19:08:07] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 28.1.0, --fml.mcpVersion, 20190829.143755, --fml.mcVersion, 1.14.4, --fml.forgeGroup, net.minecraftforge, nogui]
[19:08:07] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 3.2.0+60+b86c1d4 starting: java version 11.0.5-ea by Ubuntu
[19:08:08] [main/INFO] [ne.mi.fm.lo.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[19:08:09] [main/INFO] [STDERR/]: [jdk.nashorn.api.scripting.NashornScriptEngine:<init>:143]: Warning: Nashorn engine is planned to be removed from a future JDK release
[19:08:11] [main/INFO] [cp.mo.mo.LaunchServiceHandler/MODLAUNCHER]: Launching target 'fmlserver' with arguments [--gameDir, ., nogui]
Exception in thread "main" [19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]: java.lang.RuntimeException: java.lang.UnsupportedOperationException
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:39)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:50)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:68)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at cpw.mods.modlauncher.Launcher.run(Launcher.java:80)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at cpw.mods.modlauncher.Launcher.main(Launcher.java:65)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at net.minecraftforge.server.ServerMain$Runner.runLauncher(ServerMain.java:63)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at net.minecraftforge.server.ServerMain$Runner.access$100(ServerMain.java:60)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1050]:       at net.minecraftforge.server.ServerMain.main(ServerMain.java:57)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]: Caused by: java.lang.UnsupportedOperationException
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.ClassVisitor.visitNestMemberExperimental(ClassVisitor.java:248)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.ClassReader.accept(ClassReader.java:651)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:83)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformerClassWriter.access$100(TransformerClassWriter.java:35)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformerClassWriter$SuperCollectingVisitor.visit(TransformerClassWriter.java:129)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.ClassReader.accept(ClassReader.java:525)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:83)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformerClassWriter.access$100(TransformerClassWriter.java:35)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformerClassWriter$SuperCollectingVisitor.visit(TransformerClassWriter.java:129)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.ClassReader.accept(ClassReader.java:525)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:83)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformerClassWriter.access$100(TransformerClassWriter.java:35)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformerClassWriter$SuperCollectingVisitor.visit(TransformerClassWriter.java:129)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.ClassReader.accept(ClassReader.java:525)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.ClassReader.accept(ClassReader.java:391)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformerClassWriter.computeHierarchy(TransformerClassWriter.java:83)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformerClassWriter.getSupers(TransformerClassWriter.java:54)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformerClassWriter.getCommonSuperClass(TransformerClassWriter.java:99)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.SymbolTable.addMergedType(SymbolTable.java:1209)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.Frame.merge(Frame.java:1293)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.Frame.merge(Frame.java:1175)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.MethodWriter.computeAllFrames(MethodWriter.java:1604)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.MethodWriter.visitMaxs(MethodWriter.java:1540)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:807)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.tree.MethodNode.accept(MethodNode.java:687)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at org.objectweb.asm.tree.ClassNode.accept(ClassNode.java:436)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformingClassLoader$DelegatedClassLoader.findClass(TransformingClassLoader.java:236)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:127)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.TransformingClassLoader.loadClass(TransformingClassLoader.java:97)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at java.base/java.lang.Class.forName0(Native Method)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at java.base/java.lang.Class.forName(Class.java:398)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at net.minecraftforge.fml.loading.FMLServerLaunchProvider.lambda$launchService$0(FMLServerLaunchProvider.java:50)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:37)
[19:08:12] [main/INFO] [STDERR/]: [java.lang.ThreadGroup:uncaughtException:1059]:       ... 7 more

I'm running OpenJDK 11 on Ubuntu Server 64bit 19.10. Java isn't supporting Arm that I can find so OpenJDK is the only option.

 

1) Am I doing something wrong or is this just not going to run on OpenJDK?

2) I am still running Forge Clients with minimap and Optifine which don't seem to have a problem connecting and working on the vanilla server. What advantage is there to forge server?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.