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

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -