Skip to content

Commit 6f0e4ea

Browse files
committed
tweak: Output Java version
1 parent 8efc07e commit 6f0e4ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
readonly target=$1
22
readonly NEW_PATH=$(echo "${PATH}" | sed -e "s@/usr/lib/jvm/[[:digit:]]\+@/usr/lib/jvm/${target}@g")
33
export PATH="${NEW_PATH}"
4+
5+
java --version

0 commit comments

Comments
 (0)