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
Admincraft Meta3mo ago
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
Loudbook3mo ago
Well Why does it
codertommy
codertommy3mo ago
depends on what's in run.sh
Loudbook
Loudbook3mo ago
What's the crash lol
codertommy
codertommy3mo ago
that too
Admincraft Meta
Admincraft Meta3mo ago
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
Loudbook3mo ago
Prolly wrong java version What's inside start.shit
AluminumBurger™
AluminumBurger™OP3mo ago
java 21 for 1.21.1 i have no idea
Loudbook
Loudbook3mo ago
ok so cat start.sh
AluminumBurger™
AluminumBurger™OP3mo ago
doesnt exist
Loudbook
Loudbook3mo ago
When you start your server you run ./start.sh??
AluminumBurger™
AluminumBurger™OP3mo ago
no
Loudbook
Loudbook3mo ago
oh it's run.sh cat run.sh
AluminumBurger™
AluminumBurger™OP3mo ago
#!/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
Loudbook3mo ago
please code block 😢
AluminumBurger™
AluminumBurger™OP3mo ago
idk why it sent like that
Loudbook
Loudbook3mo ago
cat libraries/net/neoforged/neoforge/21.1.92/unix_args.txt
Admincraft Meta
Admincraft Meta3mo ago
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™
AluminumBurger™OP3mo ago
or i just might be dumb
Loudbook
Loudbook3mo ago
eugh just use run.sh add -Xmx10G in the file user_jvm_args.txt
AluminumBurger™
AluminumBurger™OP3mo ago
eh if it works it works
Admincraft Meta
Admincraft Meta3mo ago
Closed post!
Your post has been marked as solved!
Requested by aluminumburger#0

Did you find this page helpful?