Hi,
I was in the process of uninstalling java from the linux platform. I succeeded removing it accordingly but when I type WHICH JAVA command it shows the following output. I wonder how can i delete the output that has come while typing which java command in linux.
[pentaho@vertica-srv1 ~]$ which java
/usr/bin/which: no java in (/usr/java/jdk1.8.0_45/bin:/usr/lib64/qt-3.3/bin:/usr/java/jdk1.8.0_45/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/pentaho/bin)
I even went to this path ( /usr/bin/which: no java in (/usr/java/jdk1.8.0_45/bin:/usr/lib64/qt-3.3/bin:/usr/java/jdk1.8.0_45/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/pentaho/bin) in order to delete it but i could not.
[pentaho@vertica-srv1 ~]$ java -version
bash: java: command not found
[pentaho@vertica-srv1 ~]$ javac -version
bash: javac: command not found
[pentaho@vertica-srv1 ~]$ whereis java
java:
[pentaho@vertica-srv1 ~]$ java -version
bash: java: command not found
Please help
Ujjwal Rana