Update README.md

main
忘皓 2 years ago committed by GitHub
parent 196daf571a
commit 420194ae3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,2 +1,40 @@
# j
Java Version Manager
![d34a2d8bb5d1f088687399f1cfe3468](https://user-images.githubusercontent.com/56473277/228175418-e709a300-8448-4b01-a11b-cbdfa2bb83a7.png)
## 安装
默认文件下载安装在用户目录下 ```.j```
指定安装目录需要 添加环境变量 ```J_HOME```
## 命令
### 列出
列出所有可按照版本
```
j ls-all
```
![image](https://user-images.githubusercontent.com/56473277/228176289-d5037369-8c39-4596-8274-b62c51f1c44f.png)
列出本地安装版本
```
j ls
```
![image](https://user-images.githubusercontent.com/56473277/228177030-defae4d2-77ba-4ded-9598-953330ac6cd8.png)
### 下载
```
j install 8
```
![image](https://user-images.githubusercontent.com/56473277/228178315-9491c998-c839-441f-8d5e-78578273f57c.png)
![image](https://user-images.githubusercontent.com/56473277/228178398-59382b04-ae1d-443a-9e20-ba41ab65ae7c.png)
### 切换版本
```
j use 17
```
![image](https://user-images.githubusercontent.com/56473277/228178562-509f752f-134e-4b44-b220-26ed7fc9b33c.png)

Loading…
Cancel
Save