Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (15 sloc) 637 Bytes
#!/usr/bin/env bash
# Script from
# Make sure we are in the home directory
cd /home/pi
# Download the Java 11 distribution from BellSoft
# Move the downloaded file to /opt
sudo mv bellsoft-jdk11+28-linux-arm32-vfp-hflt.tar.gz /opt
# Use the /opt directory
cd /opt
# Untar the downloaded file
sudo tar -xvzf bellsoft-jdk11+28-linux-arm32-vfp-hflt.tar.gz
# Remove the downloaded file
sudo rm bellsoft-jdk11+28-linux-arm32-vfp-hflt.tar.gz
echo "Java 11 was downloaded and installed"
You can’t perform that action at this time.