mirror of
https://github.com/halcyon/asdf-java.git
synced 2024-10-06 07:42:09 +08:00
Update README.md
This commit is contained in:
parent
056702e9c2
commit
bb0c1f4cd0
@ -17,13 +17,13 @@ asdf plugin-add java https://github.com/skotchpine/asdf-java
|
||||
and install new versions like this:
|
||||
|
||||
```bash
|
||||
asdf install java 10.0.1
|
||||
asdf install java 10.0.2
|
||||
```
|
||||
|
||||
and switch versions like this:
|
||||
|
||||
```bash
|
||||
asdf global java 10.0.1
|
||||
asdf global java 10.0.2
|
||||
```
|
||||
|
||||
If you want or need JAVA_HOME set you can add this to your shell initialization (in `.bashrc`, for example):
|
||||
|
Loading…
Reference in New Issue
Block a user