Jump to content

Im trying to start a crazy craft server for me and my friends but its not working.


DrKrusty

Recommended Posts

So I follow the tutorial video that they guy on the curseforge website has, but when I use the run.bat file, this happens: 

E: \Crazy_Craft_Updated-0.9.6 Server Pack
-bat edition>java -Xmx8192M -Xms8192M -jar forge. jar nogui
2024-06-11 22:58:14,134 main WARN Advanced terminal features are not available in this environment
[22:58:14] (main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running:
args [-
-launchTarget, fmlserv
er.i
fml. forgeVersion, 36.2.35, —fml.mcpVersion, 20210115.111550, —fml.mcVersion, 1.16.5,
-fml. forgeGroup, net.minec
raftforge, nogui]
[22:58:14] [main/INFO] [cp.mo.mo.Launchez/HODLAUNCHER]: ModLauncher 8.1.38.1.3+main-8.1.x.c94d18ec starting: java versi
on 22.0.1 by Oracle Corporation
Exception in thread "main java. lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler Cin unnamed module
00x1df82230)
cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base
does not export sun.security.util to
unnamed module 00x1df82230
at cpw.mods.modlauncher.SecureJarHandler.lambda$static$1(SecureJarHandler.java:45)
at cpw.mods.modLauncher.api.LamdbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95)
at cpw.mods-modLauncher.SecureJarHandler.<clinit>(SecureJarHandler.java:45)
at at
cpw.mods.modLauncher.Launcher. LambdaSneu$6(Launcher.java:55)
at
java.base/java.util. concurrent.ConcurrentHashMap. computeIfAbsent(ConcurrentHashMap-java:1710)
cpw.mods.modLauncher.ap1.TypesafeMap.computeIfAbsent(TypesafeMap.java:52)
at cpm.mods.modLauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap-java:4%)
at
cpw.mods.modLauncher.Environment. computePropertyIfAbsent(Environment. java:62)
at
cpw.mods .modlauncher.Launcher.<init>(Launcher.java:55)
cpw.mods .modLauncher.Launcher.main(Launcher.java:66)
at net.minecraftforge.server.Server/lain$Runner. runLauncher(Serverflain.java:49) at net. minecraftforge. server .Server/lain$Rumer, access$100(Serverflain. java:46) at net.minecraftforge.server.Serverflain.main(Serverlain.java:43)

 

 

I have no idea what to do now and I'd appreciate any sort  of help.

Link to comment
Share on other sites

16 hours ago, TileEntity said:

Use Java 8 instead of Java 22

Then this came up:

😄 \Users jcat4\OneDrive\Desktop\Crazy_Craft_Updated-0.9.6 Server Pack -bat edition»java -Xmx8192M -Xms8192M -Jar forge.J 2024-06-12 16:43:11, 790 main MARI Advanced terrinal features are not avattable in this evironment -LaunchTarget, fmlserv [16:43:12] [enin/INFO cp. to. no. Launcher/MOBLAUNCHERJ: NodLauncher running: args [-1.1601r, -ml.forgeGroup, —fal. forgeVersion, -fal.acpVersion, 20210115.111550, _fal.meVersion, 1.16.5, net.minec on 22.0.1 by Oracle Corporation Exception in thread "main" java. Lang. IllegalAccessError: class cp.mods.modlauncher.SecureJarHandLer in unnamed module Poxid(€2230) cannot access class sun security. ut11. ManifestEntryVerifler (in module Java.base) because module java.base does not export sun.security.util to unnamed module 90x1df82230 cpe mods modLauncher. SecureJartiandLer. LambdaSstaties1(SecureJarkandLer Java: 45) cpa.sods.nodLauncher.apd.LandbaExceptionUtils.uncheck(LamdbaExceptionUtils.java:95) cp.mods.od/Launcher.SecureJarHandler.<cLinit>(SecureJarHandler.java:45) cp.mods.wodLauncher.Launcher.LanbdaSnerS6(Launcher.java:S5) at java.base/java.ut/l.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1710) at cpu.mods.modLauncher.api.TypesafeMap.computeIfAbsent(TypesafeMap.java:52) at cm.mods.modLauncher.api.Typesafelap.computelfAbsent(Typesafelap.java:47) cpu.mods.modLauncher.Enváror sent.computePropertyIfAbsent(Environment.java:62) cp.sods.wod/Launcher.Launcher.cinit-(Launcher-java:55) cpw.mods.modLauncher.Launcher.main(Launcher.java:66) at net.minecraftforge, server, ServerfainSRunner runLauncher (Servertain. Java: 49) at [email protected]/ain$Runner.access$100(ServerMain. java:46) at net.adnecraft forge.server.Servertlain.main(Servertain. java:43) (process exited with code 1 (0x00000001)] You can now close this terminal with CErl+D, or press Enter to restart.

Link to comment
Share on other sites

Version, 1.16.5, net.minec on 22.0.1 by Oracle Corporation

The server is still using Java 22


In your start script, replace the word "java" with the java 8 path to the javaw.exe

For example:

"C:\Program Files\Java\jre1.8.0_311\bin\javaw.exe" -Xmx8192M -Xms8192M -jar forge. jar
pause 

Just make sure the java 8 path is correct and keep the quotation marks

 

Edited by TileEntity
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.