Posted November 1, 20213 yr After downloading and installing a forge server on my mac (Intel chip, OS X 10.15.7) I try to open run.sh but get the following "Error: could not open 'user_jvm_args.txt'" I have installed Java 16 as I've seen others say this is an issue. I have also used chmod a+x on both run.sh and user_jvm_args.txt Edited November 1, 20213 yr by wee_ag added more info
November 1, 20213 yr Author Thanks for the reply! Here's my output: Quote Last login: Mon Nov 1 12:39:42 on ttys000 wee@iMac ~ % /Users/wee/Forgeserver17/run.sh ; exit; Error: could not open `user_jvm_args.txt' [Process completed] And here's java -version Quote Last login: Mon Nov 1 12:41:00 on ttys001 wee@iMac ~ % java -version java version "16.0.2" 2021-07-20 Java(TM) SE Runtime Environment (build 16.0.2+7-67) Java HotSpot(TM) 64-Bit Server VM (build 16.0.2+7-67, mixed mode, sharing)
November 1, 20213 yr Author Hmm, ok - makes sense. But the install instruction say to install the server files into an empty folder and then execute run.sh - or am I not understanding the instructions?
November 1, 20213 yr Author Ok, just tried what I think you're saying... still getting the same error Quote Last login: Mon Nov 1 13:49:47 on ttys000 wee@iMac ~ % cd /Users/wee/minecraft\ server wee@iMac minecraft server % /Users/wee/Forgeserver17/run.sh Error: could not open `user_jvm_args.txt' wee@iMac minecraft server % I feel like I'm missing something simple. Here's the list of files where run.sh is (Forgerserver17 folder): Libraries folder run.bat run.sh user_jvm_args.txt Edited November 1, 20213 yr by wee_ag
November 1, 20213 yr Author EUREKA! Ok, I understand now. Had to point terminal to the forgerserver17 folder. Seems odd, I thought os x would do that automatically when it is run. Thanks for the help!!!
July 16, 20223 yr Hi can you post the contents of your run.sh file. Also having problems setting up forge for 19.1. Folder structures and startup files have changed since 16. Thanks
July 16, 20223 yr OK with time I have a solution. I am using MacOS Catalina 10.15.7 I am also using Forge Server 19.1 chmod 755 /path to file/run.sh cd /path to file/ file being run.sh edit the file user_jvm_args.txt to set the memory usage for the server e.g I add the lines -Xms3G -Xmx4G ./run.sh This will run the server in gui mode Not ideal as you would need to cd to the server path every time you run it. So like the servers from 16 down I modified the start.command file as below (make sure it is executable, chmod 755) #!/bin/bash cd "$(dirname "$0")" exec ./run.sh Then you can alias start.command and have it on the desktop. Edited July 16, 20223 yr by PM3747
February 18, 20232 yr PM3747 THANK YOU! Been stuck on getting this stupid file to open all morning. I found this thread buried in google but it's the first thing that worked for me.
January 1, 20241 yr can someone help ive download the forge server and im trying to open run.sh but i keep getting Error: could not open 'user_jvm_args.txt' but i have java 17
January 1, 20241 yr Please read the FAQ And start your own thread for your problem instead of hijacking other peoples questions. But most likely your problem can be solved by one of these solutions: https://forums.minecraftforge.net/topic/122698-forge-1182-server-wont-load-up-with-dawncraft/?do=findComment&comment=533997 Edited January 1, 20241 yr by warjort Boilerplate: If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one. If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install Large files should be posted to a file sharing site like https://gist.github.com You should also read the support forum sticky post.
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.