I have installed java longtime back, which java /usr/bin/java java -version java version "1.7.0_09-icedtea" OpenJDK Runtime Environment (rhel-22.214.171.124.el6_4-x86_64) OpenJDK 64-Bit Server VM (build ...
On a freshly installed box, Java was not installed, so I installed openjdk-6 via apt-get install openjdk-6-jre openjdk-6-jdk. When I try to start my Hadoop service, it complains that JAVA_HOME is not ...
I want to change the java environment to java-6-openjdk. /etc/environment: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" JAVA_HOME=/usr/lib/jvm/java-6-openjdk/ ...