I am quite new to all of this, so please don't expect too much ground-knowledge here.
I used the search and browsed around, but what I needed was not found .
A week ago I decided to build a Minecraft Forge server.
A friend suggested a raspberry pi.
So we got at it and flashed dietpi (the 64bit BETA version) on a 32GB SD-card and configured it (wifi,HDMI off,unabling root login) and installed what we needed (proFTP and MineOS).
Then we installed the minecraft server in MineOS, but the forge-version wouldn't load or only stay up for seconds.
After some research I found out that the forge version we want to use (1.12.2) would need the corresponding java version, which is Java 8.
So I checked and found out that Dietpi has Javav11 installed,which lets you play normal 1.12.2 minecraft but not the forge-version.
Now I am desperately trying to change the java version on Dietpi.
And despite what every HowTo I found through google and on this site says, it is NOT easily downloaded via apt or apt-get.
I'm always shown 5 updatable packages (non of which is java) and then an error because the package can not be found.
I tried to get more information on which java (oracle or OpenJDK or something else?) to use, if JRE is enough or JDK is needed and where the f f*** to get the f****** tarballs to download for manual installation...
...but to no avail.
Meaning I found several tarballs to download (Oracle, OpenJDK, some Azul builds - I always used the 64bit version), but none of them seems to be the right one because after installing and telling the system where to find Java8 it says this:
AAAAAAAAH!bash: /usr/bin/java: cannot execute binary file: Exec format error
Sorry, but if you are just beginning on linux and start to grasp that this is gonna be a neverending learning-curve it can get a bit emotional.
So here is my cry for help - please help me to install Java8 on my RPi4:
Code: Select all
DietPi v6.31.2 : 04:57 - Wed 08/19/20 ───────────────────────────────────────────────────── - Device model : RPi 4 Model B (aarch64) - CPU temp : 36'C : 96'F (Cool runnings) - LAN IP : **************** (wlan0) - MOTD : Help testing the new RPi3/RPi4 64-bit image: https://github.com/MichaIng/DietPi/issues/3570
-unabled root login
Tell me what else information you need from me, I will provide.
Thank you in advance,