Jump to content

Recommended Posts

Posted

Ive tried everything to fix this issue but nothing seems to work, the batch file does nothing all it says is:

C:\Users\User\Downloads\blackout>java -Xmx2048M -Xms2048M -jar forgeserver.jar nogui

C:\Users\User\Downloads\blackout>PAUSE
Press any key to continue . . .


My forge file is named "forgeserver.jar" so that is not the issue neither is the ram because ive been trying every little amount of ram possible. The batch file is in the same folder as the forge and minecraft server start up jar files and the java I use is called "jdk-8u291-windows-x65.exe". Every time i try search the issue up, nothing comes up so i worry this is a new bug and no one has a solution but every little helps, please and thank you.

Oh and also the mods I am wanting to use for the server are entity mods "alexsmobs-1.11.0.jar" and "citadel-1.7.1-1.16.5.jar"

Thank you for any little help given!

Posted

Why is it called forgeserver.jar?
Why did you rename it?

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

Show a screenshot of your server folder

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

What happens if you type the commands manually instead of using a bat file?

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

it works now but whenever i try run the batch file, it shows up then just instantly disappears. It comes up with a paragraph but it doesnt give me time to copy and paste it or read it. 

Posted

wait. I added PAUSE at the end and it now says
"C:\Users\User\Downloads\blackout>java -Xmx4096M -Xms4096M -jar forgeserver.jar nogui
2021-06-24 10:24:47,901 main WARN Advanced terminal features are not available in this environment
[10:24:47] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 36.1.32, --fml.mcpVersion, 20210115.111550, --fml.mcVersion, 1.16.5, --fml.forgeGroup, net.minecraftforge, nogui]
[10:24:47] [main/INFO] [cp.mo.mo.Launcher/MODLAUNCHER]: ModLauncher 8.0.9+86+master.3cf110c starting: java version 16.0.1 by Oracle Corporation
Exception in thread "main" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0xca263c2) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0xca263c2
        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)"

Posted

so how do you uninstall java files because i have both java 8 and java 16 downloaded but the forge file must be currently linked to java 16, so im wondering how do I find the file which holds your downloaded javas

Posted

ahh ok, well now its just repeating the same thing as before:
C:\Users\User\Downloads\blackout>java -Xmx4096M -Xms4096M -jar forgeserver.jar nogui

C:\Users\User\Downloads\blackout>pause
Press any key to continue . . .

Posted

Its saying:

C:\Users\User\Downloads\blackout>C:\Program Files\Java\bin\java -Xmx4096M -Xms4096M -jar forgeserver.jar nogui
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\User\Downloads\blackout>pause
Press any key to continue . . .

Posted

Its saying:
 

C:\Users\User\Downloads\blackout>"C:\Program Files\Java\bin\java" -Xmx4096M -Xms4096M -jar forgeserver.jar nogui
The system cannot find the path specified.

C:\Users\User\Downloads\blackout>pause
Press any key to continue . . .

I definitely feel like im missing something within the "C:\Program Files\Java\bin\java" part I just dont know what, do I need to put in the version i want it to run? Like for example if I wanted it to run java 8 do I put "jre.1.8.0_291" somewhere in that .bat code?
I apologise if I seem quite confusing right now

Posted

im quite confused right now because ive found a jdk file called "Java development kit" but im still a little confused on how i find it in my files so i can delete it because in windows/the start up thingy, you can only run commands you cant delete files or .exes or batch files, etc

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.