Jump to content

1.16.4 Forge Server Not Starting


Recommended Posts

I'm trying to install a 1.16.4 forge server but when I run 'forge-1.16.4-35.1.37.jar' with start.bat 'java -Xmx2048M -Xms2048M -jar forge-1.16.4-35.1.37.jar nogui ' it freezes and gives me this error. 

[10:38:39] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 35.1.37, --fml.mcpVersion, 20201102.104115, --fml.mcVersion, 1.16.4, --fml.forgeGroup, net.minecraftforge, nogui]
[10:38:39] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 22.0.1 by Oracle Corporation
Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x78b1cc93) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x78b1cc93
        at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:41)
        at cpw.mods.modlauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)
        at cpw.mods.modlauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:41)
        at cpw.mods.modlauncher.Launcher.lambda$new$6(Launcher.java:55)
        at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1710)
        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.<init>(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)

When I run the same bat file aimed at the vanilla server jar, it runs fine but vanilla and not forge. I have no idea what this error code is telling me and would appreciate some help with starting this server.

 

Edited by Tactical_Tank
Link to comment
Share on other sites

  • Tactical_Tank changed the title to 1.16.4 Forge Server Not Starting

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.



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • Thank you for including such detailed information about what you're trying to do, that's a rarity here!  The reason you probably haven't gotten many replies is probably that (from what I have seen) most people here are asking for help and not giving it. Unfortunately, I don't know enough about how GUIs work to help you either, but I hope that someone here can!  Keeping that in mind, here's some general advice (take this with a grain of salt): Split the problem into smaller pieces. For example, start by finding everything you can about modifying the standard inventory. I'm pretty sure that TerraFirmaCraft modifies the inventory, so I'd suggest starting by looking at their GitHub and trying to figure out what parts control their replacement GUI: https://github.com/TerraFirmaCraft/TerraFirmaCraft. Start small; for instance, just change the layout or something to start with. Then, add tabs, and so forth. Once that is done and working, see if you can restrict the inventory from opening, and only allow it to open when the user has a certain item. Proceed slowly. If something isn't needed, delay it for a future step. For learning Java, here's some links to tutorials and resources (copied from the Forge Discord's bot): JetBrains Academy (free online course): https://www.jetbrains.com/academy/ Codeacademy (free online course): https://www.codecademy.com/learn/learn-java University of Helsinki (free online course): https://java-programming.mooc.fi/ Basic Java Tutorials: https://docs.oracle.com/javase/tutorial/ Introduction to Programming using Java by David J. Eck (free online textbook): http://math.hws.edu/javanotes/ Those may or may not be helpful, depending on how advanced you are by now.  All the same, best of luck with your inventory overhaul project!
    • When I launch the modpack through curseforge, before it opens minecrafts it says Error Launching the game failed and then: Failed to download file. Name: fastutil-8.2.1.jar URL: https://libraries.minecraft.net/it/unimi/dsi/fastutil/8.2.1/fastutil-8.2.1.jar Error details: 0x0000001c - generic: no space on device Couldn't write to file Filename on disk: fastutil-8.2.1.jar Path: C:\Users\BC Tech\curseforge\minecraft\Install\libraries\it\unimi\dsi\fastutil\8.2.1\fastutil-8.2.1.jar Exists: Nonexistent    
    • I have just reinstalled forge for 1.8.9 version 2318 because I had accidently deleted it, I tried to launch the game and it now won't open the game but says that I am already logged in to the game when I try to launch minecraft again.  I have tried many ways of trying to fix it by restarting my pc, shutting it down, checked if my mods were on the same version, and even reinstalled it many more times but nothing seems to have worked. I just want to fix this so I can continue to play my game once again.   I tried to send a photo but it didn't want to work
  • Topics

  • Who's Online (See full list)

×
×
  • Create New...

Important Information

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