Debian

ARM

ARM raspbian entries in /etc/apt/sources.list for Singapore.

deb http://mirror.rise.ph/raspbian/raspbian/ buster main contrib non-free rpi firmware
deb-src http://mirror.rise.ph/raspbian/raspbian/ buster main contrib non-free rpi firmware

X86_64

Sample of entries in /etc/apt/sources.list for Singapore.

deb http://mirror.0x.sg/debian buster main
deb-src http://mirror.0x.sg/debian buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://mirror.0x.sg/debian buster-updates main
deb-src http://mirror.0x.sg/debian buster-updates main

Installing JDK8

Reference URL: https://adoptopenjdk.net/installation.html?variant=openjdk8&jvmVariant=openj9#linux-pkg

  • Install dependencies: sudo apt-get install -y software-properties-common

  • Import the official AdoptOpenJDK GPG key: wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -

  • Import the AdoptOpenJDK DEB repository: sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/

  • Update apt: sudo apt update

  • Install the JDK: sudo apt-get install adoptopenjdk-8-hotspot