linux - Unable to find where my java installation is -
i have java installed. however, java_home
empty , can't find out should point to:
$ ls /usr/lib/jvm/default-java ls: cannot access '/usr/lib/jvm/default-java': no such file or directory $ ls /usr/bin/java /usr/bin/java
try
which java | xargs -l1 ls -al
it show java
stored on hard drive must symbolic link
an example of output:
/usr/bin/java -> /foo/bar/java
in case java
in directory bar
Comments
Post a Comment