Jump to content

Forge server jar doesnt open


Recommended Posts

  • 2 weeks later...

Going off this, I believe it's the same issue. Downloaded java 9, but java 8 was still installed. attempted to open my 1.12.2 server with the batch, [ java -Xms5120M -Xmx5120M -jar -d64 "forge-1.12.2-14.23.0.2546-universal.jar" nogui ] and the cmd opens for a moment then closes. (Was difficult to capture this image due to it) I had tried removing java 8 to see if there was a conflict with having both, but after more searching found this, and redownloaded 8 (and uninstalled 9 temporarily). However, now the cmd window doesn't even come up fully before closing again. No error logs and no text displayed on the very brief window. I tried installing the server in a new folder with a fresh installer, and the vanilla server loads, but when attempting the server from the new location, the same thing happens. Any help is appreciated, as I am unable to find anything anywhere else.

Capture.PNG

Link to comment
Share on other sites

I removed both java 9 jdk and jre, so only 8 is installed. the PATH variable was set to jre9\bin, but went back in and changed it to jre8\ (however, option for bin is no longer there, so left it just at that folder).  I did the java -version last night, but i'll do it again here shortly to confirm. I have it directed to the jre8, but was unable to go into the bin folder to select the exe. Fresh Download of java 8 update 151 i believe. 

Link to comment
Share on other sites

Just now, Kyiki said:

(however, option for bin is no longer there, so left it just at that folder).  I did the java -version last night, but i'll do it again here shortly to confirm. I have it directed to the jre8, but was unable to go into the bin folder to select the exe. Fresh Download of java 8 update 151 i believe. 

You wouldn't select the exe when adding to the path, just the bin folder. If you didn't select the bin folder, I don't think java will be in your path.

 

What does java -version show from the commandline? Your statement about the fresh download ended with "i believe", that's why I'd like you to check running the command. :)

Link to comment
Share on other sites

Your JRE is not in the program files\java\jre1.8.0_45 folder. Maybe it used to be, but that's some old stuff still kicking around or something.

 

- There's no bin folder, which there should be as it contains the java executable.

- When you do java -version it's showing 151, not 45.

 

I'm not sure how or why things are like this, but there's definitely something messed up.

 

If it were me, I would probably uninstall, then manually comb my system for java stuff, delete it, then reinstall fresh.

Link to comment
Share on other sites

Didn't even notice the _45, I'll figure out if it's downloading somewhere else. Last thing, I've read somewhere that I can have java 8 installed (for things like minecraft) and have java 9 as well, Can you confirm / deny for me? And thanks for the help again :D

Edited by Kyiki
Link to comment
Share on other sites

Just now, Kyiki said:

Didn't even notice the _45, I'll figure out if it's downloading somewhere else. Last thing, I've read somewhere that I can have java 8 installed (for things like minecraft) and have java 9 as well, Can you confirm / deny for me? And thanks for the help again :D

I would imagine you could have both versions installed, I don't know how easy it would be swapping back and forth though, you'd either have to change things like the PATH and JAVA_HOME environment variables, or specify full path names to the java(c) executables. This is just a guess, as I haven't bothered with java 9 since I pretty much only use it for tinkering with minecraft.

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.