centos配置jdk环境变量
下载jdk
https://www.oracle.com/java/technologies/downloads/
增加环境变量
vi /etc/profile
1 |
|
source /etc/profile
测试
centos配置jdk环境变量
https://zhaops-hub.github.io/2021/11/03/java/centos配置jdk环境变量/
https://www.oracle.com/java/technologies/downloads/
vi /etc/profile
1 |
|
source /etc/profile