Jump to content

When I install the server I do not get the .json file and when I try to open the forge server file it does not open.


Recommended Posts

Posted

I am trying to make a server for my friends and I to play on, keep in mind I have a 2020 M1 chip MacBook so it is a bit different than windows. When I install the forge server from the installer it gives me 3 files; forge-1.16.5-36.2.2.jar, libraries folder, and Minecraft_server.1.16.5.jar. The video I am following told me to open the first one but when I did it does not give me the necessary files (i.e. eula.txt, mods, logs etc.) all it does is give me a message saying "Java Application launch failed" and that I should check console for a possible error

Posted

for whatever reason it won't let me upload an image but this is what my output says in my terminal

  Quote

 

josiahmajorins@Josiahs-MacBook-Air ForgeServer % java -jar forgeserver.jar

[07:34:48] [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]

[07:34:48] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16.0.2 by Oracle Corporation

Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x13545af8) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x13545af8

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: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.<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)

josiahmajorins@Josiahs-MacBook-Air ForgeServer %

 

Expand  

and this is what is in the debug file 

  Quote

[02Aug2021 07:34:48.701] [main/INFO] [cpw.mods.modlauncher.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]
[02Aug2021 07:34:48.706] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16.0.2 by Oracle Corporation
[02Aug2021 07:34:48.734] [main/DEBUG] [cpw.mods.modlauncher.LaunchServiceHandler/MODLAUNCHER]: Found launch services [minecraft,testharness,fmlclient,fmlserver]

Expand  

 

Posted
  On 8/2/2021 at 12:48 PM, Thunderbird4 said:

ok should I try using a different Minecraft version? or a different Java version? and if so which should I use

 

Expand  

If you want to play 1.16.5 or any older version, download Java 8.
Alternatively, you can play 1.17.1 (the newest MC version) and keep your Java 16.

  • Like 1
Posted

Try manually specifying the path to the Java 8 executable instead of just running "java" and letting your PC decide which

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

Posted
  On 8/3/2021 at 2:58 AM, Thunderbird4 said:

I don't know much about commands so what would I type in after java? would I say "java 8 -jar..."? add an underscore? do I have to specify java 8 update 301?

Expand  

No, you would use the full path like "C:\Program Files\Java\jre8\java.exe" (Include the quotes because the path contains spaces) instead of Java (Note this is an example, please don't just copypaste, find it on your own system)

This is my Forum Signature, I am currently attempting to transform it into a small guide for fixing easier issues using spoiler blocks to keep things tidy.

 

As the most common issue I feel I should put this outside the main bulk:

The only official source for Forge is https://files.minecraftforge.net, and the only site I trust for getting mods is CurseForge.

If you use any site other than these, please take a look at the StopModReposts project and install their browser extension, I would also advise running a virus scan.

 

For players asking for assistance with Forge please expand the spoiler below and read the appropriate section(s) in its/their entirety.

  Reveal hidden contents

 

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.

Announcements



×
×
  • Create New...

Important Information

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