Jump to content

Recommended Posts

Posted

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.

Posted
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

Posted
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?

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.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.