Java osrs on raspberrypi4/1/2024 I have been running a Minecraft server on a Raspberry Pi 4, using Java 8, installed via sudo apt install openjdk-8-jdk. I wrestled with the same issue a few days ago. * 1 /usr/lib/jvm/java-1.16.0-openjdk-armhf/bin/java 1131 manual modeĢ /usr/lib/jvm/java-1.8.0-openjdk-armhf/bin/java 1131 manual modeģ /usr/lib/jvm/java-8-openjdk-armhf/jre/bin/java 1081 manual mode Linux raspberrypi 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33: armv7l GNU/LinuxĪnd these are the options for sudo update-alternatives -config java: Selection Path Priority StatusĠ /usr/lib/jvm/java-1.16.0-openjdk-armhf/bin/java 1131 auto mode Here's a bit of system information in case it's useful: It appears this is the wrong version, but neither of the Linux downloads on the website worked, so I'm not sure what is wrong. When I try to run java -version, I get this error: bash: /usr/bin/java: cannot execute binary file: Exec format error I then followed these instructions to install it. There is no openjdk-16-jdk package so I downloaded the tar file for Linux / AArch64 as the Pi has an ARM processor. I'm running a minecraft server and there was an update recently which requires Java 16, but I have Java 8 installed. I am trying to install OpenJDK 16 on my Raspberry Pi 4.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |