ItsNotKiwi Posted January 25 Posted January 25 Hi there, I am trying to run a forge server using debian with no mods in it and have been able to follow all the steps to setup the server, I am on java version 17 and run time environment 17, I have accepted the eula etc... but when I run I get this error: https://pastebin.com/h3CTQUsp Any help would be appreciated. Quote
TileEntity Posted January 26 Posted January 26 Make a test with adding -Djava.awt.headless=true to your start script Quote Try my Modpack >>Link to Curseforge<<
ItsNotKiwi Posted January 27 Author Posted January 27 On 1/26/2025 at 2:13 PM, TileEntity said: Make a test with adding -Djava.awt.headless=true to your start script Expand I tried adding this to the start of the run.sh file and it just says "-Djava.awt.headless=true" not found before giving the same error Quote
TileEntity Posted January 27 Posted January 27 Add the lines of the run.sh Quote Try my Modpack >>Link to Curseforge<<
ItsNotKiwi Posted January 27 Author Posted January 27 On 1/27/2025 at 3:00 PM, TileEntity said: Add the lines of the run.sh Expand https://pastebin.com/cjQEMQwv this is what i have right now Quote
TileEntity Posted January 27 Posted January 27 (edited) Put this line into the user_jvm_args.txt Or try java -Djava.awt.headless=true @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.20.1-47.3.25/unix_args.txt "$@" pause Edited January 27 by TileEntity Quote Try my Modpack >>Link to Curseforge<<
ItsNotKiwi Posted January 27 Author Posted January 27 On 1/27/2025 at 4:01 PM, TileEntity said: Put this line into the user_jvm_args.txt Or try java -Djava.awt.headless=true @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.20.1-47.3.25/unix_args.txt "$@" pause Expand the server works now, thanks so much! What does that line actually mean? Quote
TileEntity Posted January 27 Posted January 27 Here in this case, it disables java graphical display features A server does not have a "display" or GUI - so with this line you disable these features I think it is some kind of linux thing https://www.oracle.com/technical-resources/articles/javase/headless.html Quote Try my Modpack >>Link to Curseforge<<
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.