Closed nohehf closed 4 months ago
Java needs to be specified before the version identifier. Also bumped to the latest LTS version.
Also I wonder what this part is for, it might be removed, or the headlines should be adjusted:
### Which version of Java do I currently have installed?
which java which java --version
which java
On Linux, you might also try
sudo update-java-alternatives
Indeed `java --version` is enough, and update-java-alternatives is not related to `Which version of Java do I currently have installed?` ?
Thanks for contributing :)
which java might be relevant to see the installation folder
We can remove sudo update-java-alternatives
Java needs to be specified before the version identifier. Also bumped to the latest LTS version.
Also I wonder what this part is for, it might be removed, or the headlines should be adjusted:
which java
which java
--versionsudo update-java-alternatives