<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Update MineOS to a newer version of Java]]></title><description><![CDATA[<p dir="auto">If your Minecraft servers are not starting, it could be do to MineOS not having a new enough version of Java. To update the Java version you just need to run a few commands. This will update MineOS to Java 22.</p>
<p dir="auto">First we need to remove the default Java version with this command:<br />
<code>apt remove java-common</code> (if nothing gets removed, that’s okay, just continue to the next step)</p>
<p dir="auto">Next we need to download Java 22 for Linux x64:<br />
<code>wget https://download.java.net/java/GA/jdk22.0.2/c9ecb94cd31b495da20a27d4581645e8/9/GPL/openjdk-22.0.2_linux-x64_bin.tar.gz</code></p>
<p dir="auto">Now we need to extract the contents into a folder:<br />
<code>tar -xf openjdk-22.0.2_linux-x64_bin.tar.gz -C /opt/</code></p>
<p dir="auto">Lastly we need to create a link to the new Java version we installed:<br />
<code>ln -sf /opt/jdk-22.0.2/bin/java /usr/bin/java</code></p>
<p dir="auto">Now that Java is updated you should now be able to start your Minecraft server without restarting. Even thought the server will boot, I would recommend restarting MineOS just to be safe.</p>
]]></description><link>https://forum.sumisu.xyz/topic/23/update-mineos-to-a-newer-version-of-java</link><generator>RSS for Node</generator><lastBuildDate>Sat, 30 May 2026 22:03:57 GMT</lastBuildDate><atom:link href="https://forum.sumisu.xyz/topic/23.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 11 Sep 2024 04:58:49 GMT</pubDate><ttl>60</ttl></channel></rss>