You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
+ 列出所有安装的版本
|
|
```shell
|
|
jenv versions
|
|
```
|
|
|
|
+ 当前生效的版本
|
|
```shell
|
|
jenv version
|
|
```
|
|
|
|
+ 添加版本
|
|
```shell
|
|
jenv add /path/to/java/home
|
|
```
|
|
|
|
+ 版本切换
|
|
```shell
|
|
# 全局
|
|
jenv global 1.8
|
|
# 当前目录
|
|
jenv local 11
|
|
```
|