how to check which java version is installed in linux code example Example: how to find java version linux java -version