linux下安装jdk后的一些问题

2021-07-20 社会 154阅读
这些路径很多只是个链接而已,采用ls -l可以一层一层查看到真实路径的:
[roysong@roysong ~]$ ls -l /usr/bin/java
lrwxrwxrwx 1 root root 22 Mar 8 08:51 /usr/bin/java -> /etc/alternatives/java
[roysong@roysong ~]$ ls -l /etc/alternatives/java
lrwxrwxrwx 1 root root 46 Mar 8 08:51 /etc/alternatives/java -> /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
[roysong@roysong ~]$ ls -l /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
-rwxr-xr-x 1 root root 10048 Mar 5 14:46 /usr/lib/jvm/jre-1.7.0-openjdk.x86_64/bin/java
声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com