Is it right to run java arm?

509    Asked by LeahHarris in Java , Asked on Oct 10, 2022

I have a couple of spare Raspberry Pi 4's from a project last year. I was recently thinking that it would be really cool to run a Minecraft server on them, afterall they now have 4gb ram and a quad core cpu. Minecraft servers run on a .jar file and I found that oracle does not officially support Arm.


Answered by Leonard Terry

You don’t need an “official” Java arm from Oracle, OpenJDK is available and just as official; on your Raspberry Pi,


sudo apt install default-jre

will install the runtime environment, and

sudo apt install default-jdk

will install the development kit.

A large number of Java packages are available, this list gives details per release of Raspberry Pi OS. All these packages come from Debian and are also available in Ubuntu.



Your Answer

Interviews

Parent Categories