HanSolo / JDKMon

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

Suggestion: Add more default search paths #7

Closed mattiasbe closed 3 years ago

mattiasbe commented 3 years ago

Suggestion to add more default search paths now that multiple can be added. For example: C:\Program Files\Zulu on windows, but there are certainly more, for adopt open jdk etc.

HanSolo commented 3 years ago

Yes that's right, there are more distribution dependent paths but I won't add them all because this is already a mess on Windows but it gets even worse when using tools like sdkman etc. It's maybe a good practice to keep the installed JDKs in one place if possible and if not simply add the folders to the search path. This only has to be done once for each folder which should be ok.

mattiasbe commented 3 years ago

Sure it can be done, but for user conveience it's a very nice experience when you launch the app and all the different jdks are just there out of the box. Having all different jdks in one place is not really an option as most people just use the defaults when installing them.

Maybe add a separate text file for each platform (windows, mac, linux) with locations to check and loop through them?