
So, instead of starting mc-server-installer, "cd" to the folder where the server.jar is located (in my case /home//snap/mc-server-installer/827) and try any of the server startup commands manually: 2GB server -> java -Xmx2048M -Xms128M -jar server.jar noguiĤGB server -> java -Xmx4096M -Xms128M -jar server.jar noguiĦGB server -> java -Xm圆144M -Xms128M -jar server.jar noguiĨGB server -> java -Xmx8192M -Xms128M -jar server.jar noguiġ6GB server -> java -Xmx16384M -Xms128M -jar server.jar nogui magic, the server gets started perfectly. If I manually execute the same command mc-server-installer does when starting the server. If I start my server using mc-server-installer I keep getting the exception, no luck, even java -version shows I am on the latest version. Hi, after lots of struggling, installing and uninstalling jdk versions. : net/minecraft/bundler/Main has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 60.0įIX FOR 1.18 Try installing the latest version again (only this time Java 17): įull error I got, in case anyone searches on this:Įrror: 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 (Unknown Source)Īt (Unknown Source)Īt (Unknown Source)Īt $100(Unknown Source)Īt $1.run(Unknown Source)Īt (Native Method)Īt (Unknown Source)Īt (Unknown Source)Īt $AppClassLoader.loadClass(Unknown Source)Īt (Unknown Source) Try installing Java 16: Even though this is the Development Kit version, it works great.įor 1.18 have have experienced the same message, only with a different version number:
Openjdk 7 for windows full#
(#spoiler) = neat! (/rose) = ( full list)Įrror: A JNI error has occurred, please check your installation and try again Exception 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 News Builds Gameplay Maps Tutorials Redstone Command Blocks FanArt Comment Formatting


Openjdk 7 for windows software download#
If you don't have an account you can use the links on the top of this page to learn more about it and register for one for free.įor current Java releases, please consult the Oracle Software Download page.įor more information on the transition of products from the legacy Sun download system to the Oracle Technology Network, visit the SDLC Decommission page announcement.Caves & Cliffs 1.18 FAQ | Login/Stolen Account Problems | Technical Problems On /r/Minecraft Only developers and Enterprise administrators should download these releases.ĭownloading these releases requires an account.

They are not updated with the latest security patches and are not recommended for use in production.įor production use Oracle recommends downloading the latest JDK and JRE versions and allowing auto-update. WARNING: These older versions of the JRE and JDK are provided to help developers debug issues in older systems. The JDK includes tools useful for developing and testing programs written in the Java programming language and running on the Java TM platform.

The JDK is a development environment for building applications, applets, and components using the Java programming language. Thank you for downloading this release of the Java TM Platform, Standard Edition Development Kit (JDK TM).
