Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

My forge server won't work (Mac)


Recommended Posts

https://drive.google.com/file/d/1pktZwm9oM784kQ1Iq2kJTTBu4t2uHH6t/view?usp=sharing

It won't work

 

This is terminal output

Last login: Fri Jul 22 09:31:28 on ttys000

jackie@Jackies-Big-MacBook-Pro ~ % java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.19-41.0.62/unix_args.txt "$@"

Error: could not open `user_jvm_args.txt'

jackie@Jackies-Big-MacBook-Pro ~ %

And when i drag the file into terminal

Last login: Fri Jul 22 09:32:05 on ttys000

jackie@Jackies-Big-MacBook-Pro ~ % /Users/jackie/forgeserver/run.sh

Error: could not open `user_jvm_args.txt'

jackie@Jackies-Big-MacBook-Pro ~ %

 

run.sh looks like this:

 

#!/usr/bin/env sh
# Forge requires a configured set of both JVM and program arguments.
# Add custom JVM arguments to the user_jvm_args.txt
# Add custom program arguments {such as nogui} to this file in the next line before the "$@" or
#  pass them to this script directly
java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.19-41.0.62/unix_args.txt "$@"

 

And user_jvm_args.txt is this:

 

# Xmx and Xms set the maximum and minimum RAM usage, respectively.
# They can take any number, followed by an M or a G.
# M means Megabyte, G means Gigabyte.
# For example, to set the maximum to 3GB: -Xmx3G
# To set the minimum to 2.5GB: -Xms2500M

# A good default for a modded server is 4GB.
# Uncomment the next line to set it.

-Xmx10G

 

So I don't know whats wrong and I would like to play with mods with my friends, so help is appreciated

Link to comment
Share on other sites

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
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.

 Share



×
×
  • Create New...

Important Information

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