shyiko / jabba

(cross-platform) Java Version Manager
2.97k stars 194 forks source link

Error: Could not find or load main class java #841

Open AlipBot opened 2 years ago

AlipBot commented 2 years ago

NOTE: Vanilla Bedrock and TS3 may be buggy on aarch64 arhitecture Starting.... Found server.jar

Java 17

Installing v0.11.2... Skipped update of /home/container/.bashrc (source string already present) Skipped update of /home/container/.bash_profile (source string already present) Installation completed (if you have any problems please report them at https://github.com/shyiko/jabba/issues)

openjdk version "17" 2021-09-14 OpenJDK Runtime Environment (build 17+35-2724) OpenJDK 64-Bit Server VM (build 17+35-2724, mixed mode, sharing) If you get error about java command not found then you need to set correct java version

Error: Could not find or load main class java Caused by: java.lang.ClassNotFoundException: java