C-Otto / lnd-manageJ

MIT License
52 stars 11 forks source link

Successful install on Raspiblitz #58

Closed laurentdebricon closed 2 years ago

laurentdebricon commented 2 years ago

little guide for https://github.com/rootzoll/raspiblitz

install java 17 on raspberrypi (found here https://foojay.io/today/java-17-on-the-raspberry-pi/ )

wget https://download.java.net/java/GA/jdk17/0d483333a00540d886896bac774ff48b/35/GPL/openjdk-17_linux-aarch64_bin.tar.gz
mkdir ~/bin
echo PATH=$PATH:$HOME/bin >> ~/.bashrc
source ~/.bashrc
tar --extract --file openjdk-17_linux-aarch64_bin.tar.gz --directory=$HOME/bin
bin/jdk-17/bin/java -version

then i keep the old java 11 , i just edit the symlink /usr/bin/java and open the port 8081

sudo rm /usr/bin/java
ln -s bin/jdk-17/java /usr/bin/java
sudo ufw allow 8081

to be improved ...