Jump to content

BenTheLost

Members
  • Posts

    3
  • Joined

  • Last visited

BenTheLost's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Just wanted so say a massive thank you! Installing Java 15 and starting the correct Jar resolved the issue (seems obvious, but think I found all the less useful instructions, sorry about that) The script with the below line did the trick for me on a mac export JAVA_HOME=$(/usr/libexec/java_home -v 15.0.1) java -Xmx2048M -Xms2048M -jar forge-1.16.5-36.1.0.jar
  2. Now I feel rather silly, must have missed that in the instructions, and when I tried I get an error java -Xmx2048M -Xms2048M -jar forge-1.16.5-36.1.0.jar nogui [14:00:22] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.1.0, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui] [14:00:22] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16 by Oracle Corporation Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x4ccc0db7) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x4ccc0db7 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) And think its right java java -version java version "16" 2021-03-16 Java(TM) SE Runtime Environment (build 16+36-2231) Java HotSpot(TM) 64-Bit Server VM (build 16+36-2231, mixed mode, sharing)
  3. I installed a minecraft on a macbook, and got it all working under Forge, final test being that I can connect with a forge client of the same version and it all loads OK, as long as there are no mods. If I have any mods on the client it fails. So I have been trying to put the same mods on the server, but it seems like the server just isn't even looking for the mods. I've tried to provide all info, especially Server version Location Settings The install is a clean forge install. It is located in /Users/benmusic/Library/Application Support/minecraft (Same as a client install) created a mod directory in the same directory (Installer did not create it automatically): And in there I put a number of mods I start the server with the following command in the install directory: The server starts, but I can see no indication that it loads any mods or even looks for them: I can't figure out how to get the server to tell me exact version I copied in the server.properties (got that by using the init command, only changes are bound to IP and name) server.properties
×
×
  • Create New...

Important Information

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