whichjdk / whichjdk.com

Which Version of JDK Should I Use?
https://whichjdk.com
127 stars 13 forks source link

fix: jdk man install java command #44

Closed nohehf closed 4 months ago

nohehf commented 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

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?` ?
jochenchrist commented 4 months ago

Thanks for contributing :)

jochenchrist commented 4 months ago

which java might be relevant to see the installation folder

jochenchrist commented 4 months ago

We can remove sudo update-java-alternatives