asdf-java/README.md

60 lines
1.7 KiB
Markdown
Raw Normal View History

2017-09-21 15:45:15 +08:00
# asdf-java
[Java](https://www.java.com/en/) plugin for the [asdf](https://github.com/asdf-vm/asdf) version manager
2017-09-21 15:45:15 +08:00
## Obey
2017-09-22 01:22:33 +08:00
By using this software you agree to:
- [Oracle Binary Code License Agreement for the Java SE Platform Products and JavaFX](http://www.oracle.com/technetwork/java/javase/terms/license/index.html)
- [Oracle Technology Network Early Adopter Development License Agreement](http://www.oracle.com/technetwork/licenses/ea-license-noexhibits-1938914.html) in case of EA releases
- Apple's Software License Agreement in case of "Java for OS X"
- [International License Agreement for Non-Warranted Programs](http://www14.software.ibm.com/cgi-bin/weblap/lap.pl?la_formnum=&li_formnum=L-PMAA-A3Z8P2&l=en) in case of IBM SDK, Java Technology Edition.
## Disclaimer
This plugin is at a very early stage in development.
You may find bugs. You may find catasrophic and irreversible bugs.
If you aren't comfortable losing all the things and building from scratch,
then please wait for a beta release.
2017-09-22 01:22:33 +08:00
2017-09-21 15:45:15 +08:00
## Install
After installing [asdf](https://github.com/asdf-vm/asdf),
you can add this plugin like this:
2017-09-21 15:45:15 +08:00
```bash
asdf plugin-add java https://github.com/skotchpine/asdf-java
```
and install new versions like this:
2017-09-21 15:45:15 +08:00
```bash
asdf install java jdk-8u141
```
2017-09-21 15:45:15 +08:00
and switch versions like this:
2017-09-22 01:22:33 +08:00
```bash
asdf global java jdk-8u141
```
2017-09-22 01:22:33 +08:00
## Reading
2017-09-22 01:22:33 +08:00
Read the [asdf readme](https://github.com/asdf-vm/asdf)
for instructions on how to install and manage versions of any language.
2017-09-21 15:45:15 +08:00
If you have trouble with any expected features,
have any feature requests or want to contribute,
please [do an issue](https://github.com/skotchpine/asdf-java/issues).
2017-09-28 04:05:03 +08:00
# Upcoming
Probable next steps are:
1. JDK 9 support
2. JDK 7 and 6 support
3. Gradle and Maven support
4. Test
5. Release