Go to file
Scott McLeod f6c327a770
Merge pull request #10 from StefanoDeVuono/master
add mac_hotspot case to statement in unpack_java function
2019-08-01 14:35:58 -04:00
bin add mac_hotspot case to statement in unpack_java function 2019-08-01 12:25:17 -05:00
.travis.yml Run tests against branch/PR instead master 2018-10-30 06:27:14 +00:00
asdf-java-wrapper.bash Add a zsh asdf-java-wrapper, reference in the readme & deprecate the old script. 2018-12-11 07:58:11 -06:00
asdf-java-wrapper.zsh Add a zsh asdf-java-wrapper, reference in the readme & deprecate the old script. 2018-12-11 07:58:11 -06:00
LICENSE Initial commit. 2017-09-21 02:57:35 -05:00
README.md Add a zsh asdf-java-wrapper, reference in the readme & deprecate the old script. 2018-12-11 07:58:11 -06:00

asdf-java

travis ci

Java plugin for the asdf version manager.

Install

After installing asdf, you can add this plugin like this:

asdf plugin-add java

and install new versions like this:

asdf install java openjdk-11.0.1

and switch versions like this:

asdf global java openjdk-11.0.1

If you want or need JAVA_HOME set you can load our asdf wrapper to your shell initialization (in .bashrc, for example):

. ~/.asdf/plugins/java/asdf-java-wrapper.bash

Or in .zshrc

. ~/.asdf/plugins/java/asdf-java-wrapper.zsh

If you need to disable colors, try:

export ASDF_JAVA_PLAIN=truthy

If you need Gradle or Maven, you can use asdf plugins for those, too.

asdf plugin-add maven https://github.com/skotchpine/asdf-maven
asdf plugin-add gradle https://github.com/rfrancis/asdf-gradle

Obey

By using this software you agree to:

Reading

Read the asdf readme for instructions on how to install and manage versions of any language.

If you have trouble with any expected features, have any feature requests or want to contribute, please do an issue.

Homage

This plugin wouldn't be possible without the current Java version managers. Here's a list of repos with similar affects that were heavily referenced here:

Development