I have installed java longtime back,
which java /usr/bin/java java -version java version "1.7.0_09-icedtea" OpenJDK Runtime Environment (rhel-18.104.22.168.el6_4-x86_64) OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
Typing java throws me up with the options which could mean that java is installed.
In my JDK path, /usr/lib/jvm/java-1.7.0-openjdk-22.214.171.124.x86_64/ I see jre/bin and under that I find java executable binary. I don't see javac. my JAVA_HOME (is set to my java dir) , says this -bash: /usr/lib/jvm/java-1.7.0-openjdk-126.96.36.199.x86_64/jre: is a directory
Do I need to install JDK ? How to run javac from any directory ?