Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jdk22 #159

Merged
merged 8 commits into from
Jul 17, 2024
5 changes: 3 additions & 2 deletions java-see/build-java-see.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ export TERM=${TERM:-dumb}

wget https://download.oracle.com/java/22/latest/jdk-22_linux-x64_bin.tar.gz
tar -xvf jdk-22_linux-x64_bin.tar.gz
mv jdk-22.0.1 /opt/
VERSION=$(find . -maxdepth 1 -mindepth 1 -name "jdk-22.*" | sed 's/^..//')
mv $VERSION /opt/

JAVA_HOME='/opt/jdk-22.0.1'
JAVA_HOME="/opt/${VERSION}"
export JAVA_HOME
PATH="JAVA_HOME/bin:$PATH"
export PATH
Expand Down