first time user for Oracle Cloud problems/questions

im pretty new to hosting a server on a vm and all that shit, why does java -Xmx10240M -Xms10240M -jar server.jar nogui crash the server but ./run.sh not
24 Replies
Admincraft Meta
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by aluminumburger#0
Loudbook
Loudbook3w ago
Well Why does it
codertommy
codertommy3w ago
depends on what's in run.sh
Loudbook
Loudbook3w ago
What's the crash lol
codertommy
codertommy3w ago
that too
Admincraft Meta
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
Requested by aluminumburger
Loudbook
Loudbook3w ago
Prolly wrong java version What's inside start.shit
AluminumBurger™
java 21 for 1.21.1 i have no idea
Loudbook
Loudbook3w ago
ok so cat start.sh
AluminumBurger™
doesnt exist
Loudbook
Loudbook3w ago
When you start your server you run ./start.sh??
AluminumBurger™
no
Loudbook
Loudbook3w ago
oh it's run.sh cat run.sh
AluminumBurger™
#!/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/neoforged/neoforge/21.1.92/unix_args.txt "$@"
#!/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/neoforged/neoforge/21.1.92/unix_args.txt "$@"
Loudbook
Loudbook3w ago
please code block 😢
AluminumBurger™
idk why it sent like that
Loudbook
Loudbook3w ago
cat libraries/net/neoforged/neoforge/21.1.92/unix_args.txt
Admincraft Meta
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
Requested by aluminumburger
AluminumBurger™
or i just might be dumb
Loudbook
Loudbook3w ago
eugh just use run.sh add -Xmx10G in the file user_jvm_args.txt
AluminumBurger™
eh if it works it works
Admincraft Meta
Closed post!
Your post has been marked as solved!
Requested by aluminumburger#0

Did you find this page helpful?