This is changelog of node-jdk-utils project.
- Fixed:
/usr
detected as a wrong Java home on macOS. #15
- Scan default installation directory for Zulu on Windows.#12
- Traverse entires in env.PATH to cover all possible locations. Note, this increases disk I/O which will affect the performance depending on number of entries of env.PATH. #13
- Add
skipFrom
option which allow you to skip scanning from specific source to improve overall performance. #14
- Fix gradle toolchains Windows path structure. #11
- Support to detect JDKs installed by Gradle. #9]
- Better support for ASDF, searching
env.ASDF_DATA_DIR
instead ofenv.ASDF_DIR
. #8
- Support to detect JDKs installed by ASDF. #7
- Support to detect JDKs installed by Homebrew, covering macOS Apple Silicon and Linux.
- Add CLI to list all detected runtimes, which is convenient for testing coverage.
- Support to detect JDKs installed by Homebrew (macOS only).
- For candidates from envs like
PATH
, resolve symbolic links ofbin/java
to get real path of the installation.
- Simplify APIs.
- Support to detect JDKs installed by jabba.
- New API getSources(runtime) to list sources where a Java Runtime is found.
- For macOS, add below sources to detect runtimes:
~/Library/Java/JavaVirtualMachines
- Output of
java_home -V
- New API getRuntime(homedir, options): verify if given directory is a valid runtime, and provide more information if it is.
- Export type defitions for better usablity.
- New API findRuntimes(options): list all Java runtimes installed on local machine. It searches locations deducted from environment variables (PATH/JAVA_HOME/JDK_HOME), SDKMAN installation directory, jEnv configurations, and default installation locations of popular distributions.