how to tell what version of java youre using code example Example: java version command java -version