$ java -version If Java is present on the system, you should expect an output that displays the version information. The exact output will vary, but it would be similar to: openjdk version "11.0.22" ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results