Is it right to run java arm?
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.
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.