You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
j/README.md

42 lines
1.0 KiB
Markdown

# 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)