No such file or directory Java Ubuntu -
i message no such file or directory can see in image below:
as can see have bin
folder in /usr/lib/java/jdk1.8.0_144/bin
in .bashrc
file have following contents:
#java home directory setup export java_home=/usr/lib/java/jdk1.8.0_144 export path="$path:$java_home/bin"
i came across following 2 questions:
https://askubuntu.com/questions/207552/no-such-file-or-directory-when-invoking-java
java installed, in listing, execution produces "./java: no such file or directory"
and had followed petesh answer use ldd java
command see packages i´m missing. can see in image below didn´t worked out:
however can see both java -version
, ldd --version
commands working. i´m using 64-bit notebook. can maybe me, please?
java
appears correctly installed, can run "java" with
$ java <myoptions>
your error trying execute "path" $path
if want display path, echo it. like,
$ echo $path
or, if want find java is
$ type -path java /usr/bin/java
or, more usual ubuntu way
$ update-java-alternatives -l java-1.8.0-openjdk-amd64 1081 /usr/lib/jvm/java-1.8.0-openjdk-amd64 java-8-oracle 1081 /usr/lib/jvm/java-8-oracle
Comments
Post a Comment