OpenJDK21

Install from Adoptium

   1 cd ~
   2 wget https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21.0.2%2B13/OpenJDK21U-jdk_x64_linux_hotspot_21.0.2_13.tar.gz 
   3 tar xvzf OpenJDK21U-jdk_x64_linux_hotspot_21.0.2_13.tar.gz 
   4 nano ~/.bashrc
   5 
   6 JAVA_HOME=/home/vitor/jdk-21.0.2+13/
   7 MAVEN_HOME=/home/vitor/apache-maven-3.8.6/
   8 PATH=$JAVA_HOME/bin/:$PATH:$MAVEN_HOME/bin/
   9 # reload bashrc
  10 # . ~/bashrc 
  11 

Java/OpenJDK21 (last edited 2024-05-11 16:49:39 by vitor)