![]() Vi server.properties The error I received after trying to run the new Minecraft Server 1.17.1 Error: Error: A JNI error has occurred, please check your installation and try againĮxception in thread "main" : net/minecraft/server/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:468)Ī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:352)Īt (ClassLoader.java:351)Īt (LauncherHelper. You can change the settings of your server by opening up the server.properties file. This will overwrite eula.txt with "eula=true" echo "eula=true" > eula.txt Update my Minecraft Server Settings Edit the eula.txt file and set eula=true. You need to agree to the EULA to run the server. java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui Agree to the Minecraft EULA Wget -O minecraft_server.jar Run your new Minecraft server on Ubuntu LinuxĮnter the following command in your terminal to start your server. Minecraft Server Download page # Latest release download Wget Download and Install Minecraft SERVER on Ubuntu Linux If that is the case, you need to use: java -jar launcher.jar not: java launcher.jar. Open your terminal and enter the following commands. Update: After thinking about it a little more, based on the output above and comments below, my guess is that you are trying to run the jar using the 'java' command from the command line. ![]() # sudo apt-get install oracle-java8-installer Download and Install Minecraft Client on Ubuntu Linux Do I need both Comment by Martin Lippert 11/Aug/12 I think you dont need the default JRE installed as well, the full JDK should be enough. # sudo add-apt-repository ppa:webupd8team/java The JDK has the JDK portion only, not the JRE installed. ![]() This method is no longer working to install Oracle Java # Do NOT use this obsolete method! Visit Ubuntu's website for instructions on installing Oracle Java: Install Oracle Java (Minecraft site suggests this version) Sudo apt update Install Open Java JRE 16 on Ubuntu Linux Follow these steps for the CAVES & CLIFFS: PART I Minecraft Server to run properly! # install Java JDK 16 Steps needed to install Minecraft on UbuntuĬheck what version of Java you are running java -version ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |