Back
This depends a bit on your package system ... if the java command works, you can type
readlink -f $(which java)
to find your location of a java command. On the OpenSUSE system I'm on now it returns as below:
/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/bin/java
Come and join Linux training to gain great knowledge.
Do check out the video below
31k questions
32.8k answers
501 comments
693 users