Centos 查看java路径
程序员文章站
2022-05-09 23:41:56
...
[root@izu1gvjs3keo7az .ssh]# which java
/usr/bin/java
[root@izu1gvjs3keo7az .ssh]# ls -lrt /usr/bin/java
lrwxrwxrwx 1 root root 22 Nov 7 17:36 /usr/bin/java -> /etc/alternatives/java
[root@izu1gvjs3keo7az .ssh]# ls -lrt /etc/alternatives/java
lrwxrwxrwx 1 root root 73 Nov 7 17:36 /etc/alternatives/java -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.191.b12-0.el7_5.x86_64/jre/bin/java
上一篇: 分享---PHP下载文件的两种方法
下一篇: mysql用户修改密码