Where Is Java Path in Redhat Linux?
Contents Where Is My Java Path Linux? This Depends a Bit from Your Package System … If the Java Command Works, You Can Type Readlink -F $(Which Java) to Find...
Where is my java path Linux?
This depends a bit from your package system … if the java command works, you can type readlink -f $(which java) to find the location of the java command. On the OpenSUSE system I’m on now it returns /usr/lib64/jvm/java-1.6. 0-openjdk-1.6. 0/jre/bin/java (but this is not a system which uses apt-get ).
Must Read
Where is java installed on Redhat Linux?
Managing Java versions
JRE and JDK packages for Red Hat Enterprise Linux are installed in separate directories under /usr/lib/jvm . This allows them to be installed concurrently. However, only one version can be in the shell’s command path as java or javac at a time.