Posted February 19, 20232 yr So I was planning on making a 1.19.2 modded server for some friends of mine and I was following guides online, everything was working up until opening the run.bat file didn't work it just says "Error: Could not find or load main class @user_jvm_args.txt" there is a text file called "user_jvm_args" in the same folder as it, I didn't change anything about these files. Please help?
February 20, 20232 yr Author Unrecognized option: --version Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. This what happens when I put 'java --version' in command prompt
February 20, 20232 yr Try `java -version` then. But judging by that response, you need to download Java 17 since you probably have Java 8 currently.
February 20, 20232 yr I will second Ash's post since that is EXACTLY the problem I had yesterday when trying to run a dedicated server for the first time. You will need to download the JDK since the JRE is only available for Java 8. Apparently Sun/Oracle/whoever think you will only ever need Java 8 for everything.
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.