![]() ![]() Java(TM) SE Runtime Environment (build 1.8.0_311-b11) start.shĮrror: A JNI error has occurred, please check your installation and try againĮxception in thread "main" : org/bukkit/craftbukkit/bootstrap/Main has been compiled by a more recent version of the Java Runtime (class file version 60.0), this version of the Java Runtime only recognizes class file versions up to 52.0Īt 1(Native Method)Īt (ClassLoader.java:756)Īt (SecureClassLoader.java:142)Īt (URLClassLoader.java:473)Īt $100(URLClassLoader.java:74)Īt $1.run(URLClassLoader.java:369)Īt $1.run(URLClassLoader.java:363)Īt (Native Method)Īt (URLClassLoader.java:362)Īt (ClassLoader.java:418)Īt $AppClassLoader.loadClass(Launcher.java:355)Īt (ClassLoader.java:351)Īt anyone shed light on what I have done wrong? I get a nice error from the server stating: sudo. ![]() ![]() Sudo java -Xm圆G -Xms4G -jar /home/minecraft/spigot-1.18.jar nogui > /dev/console Press to keep the current choice, or type selection number:īut if I run my Q&D start command: cat start.sh ![]() There are 4 choices for the alternative java (providing /usr/bin/java).Ġ /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 auto modeġ /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1111 manual modeĢ /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manual modeģ /usr/lib/jvm/jdk-16.0.1/bin/java 0 manual mode Running update-alternatives: sudo update-alternatives -config java Similarly with the JDK: sudo apt-get install default-jdkĭefault-jdk is already the newest version (2:1.11-72). Trying to upgrade Java to the latest version of the Minecraft server (v1.18), I had a bit of a drama because the server was initially running Ubuntu 19.x, so I've converted to 20.04 after finding the place that allows me to update all the packages and do the upgrade.Īfter this I have installed the JRE, this is the same command showing the version I am up to: sudo apt-get install default-jreĭefault-jre is already the newest version (2:1.11-72).Ġ upgraded, 0 newly installed, 0 to remove and 0 not upgraded. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |