GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - whaley/asdf-java: A Java plugin for asdf-vm.

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

52 Commits
52 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
.travis.yml
.travis.yml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 

Repository files navigation

asdf-java

travis ci Travis Build

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 oracle-10.0.2

and switch versions like this:

asdf global java oracle-10.0.2

If you want or need JAVA_HOME set you can add this to your shell initialization (in .bashrc, for example):

asdf_update_java_home() {
  local current
  if current=$(asdf current java); then
    local version=$(echo $current | sed -e 's|\(.*\) \?(.*|\1|g')
    export JAVA_HOME=$(asdf where java $version)
  else
    echo "No java version set. Type `asdf list-all java` for all versions."
  fi
}
asdf_update_java_home

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:

  • Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX
  • Oracle Technology Network Early Adopter Development License Agreement in case of EA releases
  • Apple's Software License Agreement in case of "Java for OS X"
  • International License Agreement for Non-Warranted Programs in case of IBM SDK, Java Technology Edition.

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:

  • jabba
  • sdkman
  • Arch's JDK

Development

  • asdf's creating-plugins.md
  • Bash Hackers Wiki

About

A Java plugin for asdf-vm.

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.