Go to file
Jochen Schalanda 573976b13b Migrate to AdoptOpenJDK API v3
The AdoptOpenJDK API v2 is deprecated and will eventually be shut down.
Additionally, it currently has problems providing data for OpenJDK 13.

Unfortunately the API response format changed slightly, so that the static data for Zulu Community and Amazon Corretto had to be updated, too.

https://api.adoptopenjdk.net/swagger-ui/
https://github.com/AdoptOpenJDK/openjdk-api-v3
2020-03-01 14:44:43 +01:00
.github/workflows Run ShellCheck on push 2020-02-28 17:08:00 +01:00
bin Migrate to AdoptOpenJDK API v3 2020-03-01 14:44:43 +01: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 Fix shellcheck warnings 2020-02-27 16:15:07 +01: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