Posted November 14, 20177 yr I deleted Minecraft off of my computer and erased everything. I then reinstalled the game, then I installed the recommended version for 1.8.9. I then installed the server client to my .minecraft folder under the server folder i made. I then attempted to run the forge server jar. But... it doesnt open. help plz
November 14, 20177 yr Author I tired running it through the cmd and I got this. And YES my java is up to date.
November 14, 20177 yr Launchwrapper(which is a required library for forge) does not support java 9, please use java 8.
November 28, 20177 yr 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.
November 28, 20177 yr Show the output of java -version It's possible that even though you have 8 on there too, 9 is first in the path and is the one being used to launch. Double check your path to make sure it's pointing to java 8, and/or remove java 9, and see what happens.
November 28, 20177 yr You can tell it which java to use by specifying the full path to java.exe instead of just 'java' I do Forge for free, however the servers to run it arn't free, so anything is appreciated. Consider supporting the team on Patreon
November 28, 20177 yr 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.
November 28, 20177 yr 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.
November 28, 20177 yr 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.
November 28, 20177 yr 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 Edited November 28, 20177 yr by Kyiki
November 28, 20177 yr 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 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.
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.