/usr/libexec/java_home -V
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8)
04-13
03-12
1274
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
12-30
2万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-05
3904
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
08-26
1407
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)