Issue while launching Fabric 1.21 server

U

/u/Wmejeo

Guest
I am trying to set up a Fabric 1.21 server in Oracle Cloud. I generated a server instance in Atlauncher and launched it a few times, worked perfectly on my windows pc. Once I transferred ALL OF the files (except the save file, whitelist.json and server.properties) to the oracle cloud server via sftp, I tried to launch the server with the command: java -Xmx8G -jar fabric-server-launch.jar nogui. When I tried this, though, it returned the following error:

Error: Could not find or load main class net.fabricmc.loader.launch.server.FabricServerLauncher
Caused by: java.lang.ClassNotFoundException: net.fabricmc.loader.launch.server.FabricServerLauncher

No other output (logs, etc.) was produced. I have java 22 installed and have also tried running it with java 21. Minecraft version 1.21, fabric loader version 0.19.2. I have seen some remarks online about how the libraries folder needs to be present, I have already ensured that it is.

Just to make sure, here is the full java version:

Java path is java
java version "22.0.2" 2024-07-16
Java(TM) SE Runtime Environment (build 22.0.2+9-70)
Java HotSpot(TM) 64-Bit Server VM (build 22.0.2+9-70, mixed mode, sharing)

submitted by /u/Wmejeo
[link] [comments]

Continue reading...
 
Back
Top