headlessmc
headlessmc copied to clipboard
[Feature] Autodetect Java Versions
Just check locations java installations can typically be found in.
- [x] JAVA_HOME
- [x] Windows "Program Files/Java"
- [ ] Linux?
- [ ] Mac?
- [ ] Windows users/
/.jdks and other locations?
~~We check JAVA_HOME now, but we could also check the PATH and typical installation locations, e.g. C:/Program Files/Java/
~~
Edit: see top comment