Go to file
2020-03-02 17:00:52 -05:00
.github/workflows Run ShellCheck on push 2020-02-28 17:08:00 +01:00
bin Provide GitHub API token, resolves #59 2020-03-02 17:00:52 -05:00
corretto Migrate to AdoptOpenJDK API v3 2020-03-01 14:44:43 +01:00
zulu Migrate to AdoptOpenJDK API v3 2020-03-01 14:44:43 +01:00
.travis.yml Provide GitHub API token, resolves #59 2020-03-02 17:00:52 -05:00
LICENSE New architecture 2019-09-09 14:30:31 -04:00
README.md Add badge for GitHub Actions workflow 2019-12-30 23:55:38 +01:00
set-java-home.fish Create version of set-java-home script for fish shell 2019-10-31 14:57:04 +00:00
set-java-home.sh New architecture 2019-09-09 14:30:31 -04:00

asdf-java

Build status travis ci Join the chat at https://gitter.im/asdf-java/community

Java plugin for the asdf version manager.

Requirements

Install

asdf plugin-add java https://github.com/halcyon/asdf-java.git

Use

Check asdf for instructions on how to install & manage versions of Java.

Install

List candidate JDKs:

asdf list-all java

Install a candidate listed from the previous command like this:

asdf install java adopt-openjdk-12.0.2+10.2

Select an installed candidate for use like this:

asdf global java adopt-openjdk-12.0.2+10.2

JAVA_HOME

To set JAVA_HOME in your shell's initialization add the following:

. ~/.asdf/plugins/java/set-java-home.sh

for fish shell, instead use:

. ~/.asdf/plugins/java/set-java-home.fish