Created
October 30, 2019 09:32
-
-
Save vaughany/d79133cb73c0cbb9c72b248c3cc7fd74 to your computer and use it in GitHub Desktop.
JRE and JDK version checker:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# If they're not installed, install with: | |
# sudo apt-get install default-jre | |
# sudo apt-get install default-jdk | |
echo -e "\e[1mJava Runtime Environment:\e[0m" | |
java --version | |
echo -e "\n\e[1mJava Development Kit:\e[0m" | |
javac --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment