how to we know which javaversion we have code example Example: how to check which java version i have java -version