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
89213e7f4d
commit
0147e3a3c9
@ -17,13 +17,13 @@ asdf plugin-add java
|
|||||||
and install new versions like this:
|
and install new versions like this:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
asdf install java 10.0.2
|
asdf install java oracle-10.0.2
|
||||||
```
|
```
|
||||||
|
|
||||||
and switch versions like this:
|
and switch versions like this:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
asdf global java 10.0.2
|
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):
|
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