Skip to content

Commit

Permalink
fix version check error on certain Java versions
Browse files Browse the repository at this point in the history
  • Loading branch information
JoniVR committed Mar 1, 2019
1 parent 88f366c commit 5335690
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions JavaVersionSwitcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ then
fi

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

echo "Select a Java version you want to use:"
Expand Down Expand Up @@ -104,6 +104,6 @@ done
echo "Done!"
echo "------------------------------------------------------"
echo "Your new Java version: "
Java --version
Java -version

exit 0

0 comments on commit 5335690

Please sign in to comment.