在Linux中查找jdk路径

查找并确认jdk路径

[root@localhost updates]# which jdk
/usr/bin/which: no jdk in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/usr/local/bin/jdk1.8/bin:/root/bin:/usr/local/bin/jdk1.8/bin:/usr/local/maven/bin)
[root@localhost updates]# cd /usr/local/bin/jdk1.8/
[root@localhost jdk1.8]# ls
bin  COPYRIGHT  include  javafx-src.zip  jre  lib  LICENSE  man  README.html  release  src.zip  THIRDPARTYLICENSEREADME-JAVAFX.txt  THIRDPARTYLICENSEREADME.txt
[root@localhost jdk1.8]# 

 

posted @ 2020-09-08 12:27  牧牛人Alec  阅读(310)  评论(0编辑  收藏  举报