OpenJDK Runtime Environment (build 12.0.1+12) Source your profile file and check java command source /etc/profile.d/jdk12.sh sudo mv jdk-12.0.1 /opt/Ĭonfigure Java environment: cat <<EOF | sudo tee /etc/profile.d/jdk12.sh Move the resulting folder to /opt directory. curl -O Įxtract downloaded file using tar command. sudo dnf install java-latest-openjdk java-latest-openjdk-devel CentOS 7/6 & Fedora 29-27įor CentOS 7/6 & Fedora 29-27 visit JDK 12 releases page to download the latest version. Fedora 30 ships with OpenJDK 12 in its repositories.
0 Comments
Leave a Reply. |