Skip to content

Commit

Permalink
add show active java version before and after + update example
Browse files Browse the repository at this point in the history
  • Loading branch information
JoniVR committed Sep 30, 2018
1 parent ae94195 commit 88f366c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions JavaVersionSwitcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ then
exit 1
fi

echo "Your current Java version: "
Java --version
echo "------------------------------------------------------"

echo "Select a Java version you want to use:"

# Collect the folders in the array $folders
Expand Down Expand Up @@ -98,5 +102,8 @@ do
done

echo "Done!"
echo "------------------------------------------------------"
echo "Your new Java version: "
Java --version

exit 0
Binary file modified example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 88f366c

Please sign in to comment.