how to check java available in linux code example Example: how to find java version linux java -version