DogeHypah Posted March 1, 2022 Share Posted March 1, 2022 hello so i just installed java 17 yesterday and now my 1.16.5 forge server wont start, i then tried to remove java 17 because i already had java 8 but it still doesnt work. Java isnt even recognized in my pc, when i tried to load forge installer it just asks me with what application do i want to open it with. Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 1, 2022 Author Share Posted March 1, 2022 1 hour ago, diesieben07 said: Some zip managers like to take control of the .jar file extension away from Java. Make sure you have Java installed and try running Jarfix once, then try the installer again. that did work but my server still wouldnt start. Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted March 1, 2022 Share Posted March 1, 2022 run the server from the command line and post full output Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 1, 2022 Author Share Posted March 1, 2022 3 minutes ago, diesieben07 said: How are you starting the server exactly? i open the forge-1.16.5-36.2.28.jar Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 1, 2022 Author Share Posted March 1, 2022 4 minutes ago, Luis_ST said: run the server from the command line and post full output how do i run it from the command line. Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 1, 2022 Author Share Posted March 1, 2022 3 minutes ago, diesieben07 said: https://stackoverflow.com/a/5774976 it doent even give me a log, it just runs then after a while closes. Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 2, 2022 Author Share Posted March 2, 2022 5 hours ago, diesieben07 said: Then post the output you get. https://pastebin.com/M7R2mZUB here. Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 2, 2022 Author Share Posted March 2, 2022 20 minutes ago, diesieben07 said: You installed Optifine on a server. Optifine is a client-only mod. After that your server ran out of memory. is there any way to increase memory? Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 2, 2022 Author Share Posted March 2, 2022 31 minutes ago, diesieben07 said: You installed Optifine on a server. Optifine is a client-only mod. After that your server ran out of memory. if im correct, you have to create a .bat file then put @echo off java -Xmx8G Xms6G -jar forge-1.16.5-36.2.28.jar nogui PAUSE into it. if i am then its not working. Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 2, 2022 Author Share Posted March 2, 2022 53 minutes ago, diesieben07 said: You installed Optifine on a server. Optifine is a client-only mod. After that your server ran out of memory. so i tried to create another server but i still cant open the forge server.jar it doesnt launch. Quote Link to comment Share on other sites More sharing options...
Luis_ST Posted March 2, 2022 Share Posted March 2, 2022 run the server from the command line and post full output Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 2, 2022 Author Share Posted March 2, 2022 12 minutes ago, Luis_ST said: run the server from the command line and post full output i already mentioned i cant run it through the command line https://pastebin.com/hULxA3h9 heres the log when i run it throught forge server.jar Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 2, 2022 Author Share Posted March 2, 2022 1 minute ago, diesieben07 said: Why not? it doesnt run, it just says only press any button to continue. Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 2, 2022 Author Share Posted March 2, 2022 https://imgur.com/a/A6MtZK6 here. Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 2, 2022 Author Share Posted March 2, 2022 3 minutes ago, diesieben07 said: Put "where java" (without quotes) in the bat file on a separate line before the pause, the post new output. https://imgur.com/a/asIMiFX done. Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 2, 2022 Author Share Posted March 2, 2022 16 minutes ago, diesieben07 said: Your Java installation is borked. Uninstall Java completely. Then reinstall Java from https://adoptium.net/., youre a borking legend, thank you very fricking much. Quote Link to comment Share on other sites More sharing options...
DogeHypah Posted March 2, 2022 Author Share Posted March 2, 2022 (edited) 2 hours ago, diesieben07 said: Your Java installation is borked. Uninstall Java completely. Then reinstall Java from https://adoptium.net/., just wanna say that all is working properly now, so again thank you! Edited March 2, 2022 by DogeHypah Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.