Created
September 13, 2025 19:07
-
-
Save DonizeteVida/3d494849523ca5930eaaa50dd93a1f97 to your computer and use it in GitHub Desktop.
Setup RPI4 for Java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apt install -y wget apt-transport-https gpg | |
| curl -fsSL https://packages.adoptium.net/artifactory/api/gpg/key/public \ | |
| | gpg --dearmor \ | |
| | tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null | |
| echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" \ | |
| | tee /etc/apt/sources.list.d/adoptium.list | |
| sudo apt install temurin-21-jdk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment