Posted January 25Jan 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.
January 26Jan 26 Make a test with adding -Djava.awt.headless=true to your start script Try my Modpack >>Link to Curseforge<<
January 27Jan 27 Author On 1/26/2025 at 2:13 PM, TileEntity said: Make a test with adding -Djava.awt.headless=true to your start script 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
January 27Jan 27 Author 49 minutes ago, TileEntity said: Add the lines of the run.sh https://pastebin.com/cjQEMQwv this is what i have right now
January 27Jan 27 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 27Jan 27 by TileEntity Try my Modpack >>Link to Curseforge<<
January 27Jan 27 Author 41 minutes ago, 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 the server works now, thanks so much! What does that line actually mean?
January 27Jan 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 Try my Modpack >>Link to Curseforge<<
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.