How to Check Which Java Version is in Use
Check which Java Virtual Machine (JVM) and Java version was used to start Datameer.
You have set up aliases in your shell.
- Check which Java Virtual Machine (JVM) was used to start Datameer:
- You can use a more specific alias:
alias dmjava='ps -ef | grep -i "java.*jetty.*datameer" | grep -v grep | tr -s " " | cut -d " " -f8'
`dmjava` -XshowSettings:properties -version
- Check the environment:
env | grep JAVA_HOME
env | grep java
$JAVA_HOME/bin/java -XshowSettings:properties -version
- Compare versions and validate that they are the versions expected.