Skip to content

Instantly share code, notes, and snippets.

@zviederi
Last active March 4, 2020 13:04
Show Gist options
  • Save zviederi/61a788dfb6c107b0d00cf58c08aaadd3 to your computer and use it in GitHub Desktop.
Save zviederi/61a788dfb6c107b0d00cf58c08aaadd3 to your computer and use it in GitHub Desktop.
How to get info about java on Linux/Unix machine
Command to get info:
java -XshowSettings:properties -version
Get tomcat info:
java -cp lib/catalina.jar org.apache.catalina.util.ServerInfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment