HanSolo / JDKMon

A little tool written in JavaFX that monitors your installed JDK's and inform you about updates
Apache License 2.0
310 stars 21 forks source link

Feature Request: Shim a JDK #30

Open brunoborges opened 2 years ago

brunoborges commented 2 years ago

As explained in this issue, the Oracle JDK installers for Windows (and possibly for macOS too) now shims only 4 binaries in a folder called java_home and uses such directory as the bin that is appended to PATH.

An interesting feature for JDKMon is to offer the user an option to clean PATH and JAVA_HOME, and then allow the user to select which JDK they actually want, and then shim the binaries, append the folder containing the shims in PATH, and point JAVA_HOME to that particular JDK only.

This would potentially take JDKMon to the next level as a cross-platform JDK Switcher.

HanSolo commented 2 years ago

I really like that idea 👍🏻 Will take a look at that tomorrow.