{"id":1031,"date":"2021-09-28T09:35:42","date_gmt":"2021-09-28T09:35:42","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2021\/09\/28\/5605868-how-to-change-the-java-version-on-your-minecraft-server-at-hostinger\/"},"modified":"2026-03-09T11:36:14","modified_gmt":"2026-03-09T11:36:14","slug":"5605868-how-to-change-the-java-version-on-your-minecraft-server-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/5605868-how-to-change-the-java-version-on-your-minecraft-server-at-hostinger\/","title":{"rendered":"How to Change the Java Version on Your Minecraft Server at Hostinger"},"content":{"rendered":"<p class=\"no-margin\">The following error message in the Console may be cause to switch to a different Java version:<\/p><p class=\"no-margin\">\n<\/p><pre><code>Exception in thread \"main\" java.lang.IllegalAccessError: class cpw.mods.modlauncher.SecureJarHandler (in unnamed module @0x2a79781f) cannot access class sun.security.util.ManifestEntryVerifier (in module java.base) because module java.base does not export sun.security.util to unnamed module @0x2a79781f<br><\/code><\/pre><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">You can easily change it by double-clicking <b>the instance to Manage it:<\/b><\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/09\/c3259a5f-7fdc-48c3-8305-c590ebc86921.jpg\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Then, select <b>Configuration <\/b>and<b> <\/b>scroll down to select<b> Minecraft<\/b>:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/09\/0a23105f-8bbe-4f80-a11a-6588e1dc467b.jpg\"><\/div><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">Finally, specify the needed version in the <b>Java and Memory<\/b> section:<\/p><p class=\"no-margin\">\n<\/p><div class=\"intercom-container intercom-align-center\"><img decoding=\"async\" src=\"\/support\/wp-content\/uploads\/sites\/55\/2021\/09\/fc6f3d13-aa4d-4cdd-b985-d19ddfedb133.jpg\"><\/div><p class=\"no-margin\">You can choose between various Java versions in case a Minecraft plugin or server JAR requires a special environment &#128522;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Changing Java version on your Minecraft server via Game Panel at Hostinger<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[271],"tags":[],"class_list":["post-1031","post","type-post","status-publish","format-standard","hentry","category-game-panel"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/5605868-how-to-change-the-java-version-on-your-minecraft-server-at-hostinger\/","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/5605868-como-cambiar-la-version-de-java-en-tu-servidor-de-minecraft-en-hostinger\/","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/5605868-comment-changer-la-version-de-java-sur-votre-serveur-minecraft-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/5605868-bagaimana-cara-mengubah-versi-java-di-server-minecraft-di-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/5605868-como-alterar-a-versao-java-no-seu-servidor-minecraft-hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1031","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1031"}],"version-history":[{"count":2,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1031\/revisions"}],"predecessor-version":[{"id":8460,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1031\/revisions\/8460"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}