am trying to set up apache hadoop in my system. In the procedure page it says "edit the file conf/hadoop-env.sh to define at least JAVA_HOME to be the root of your Java installation. "
What does setting "JAVA_HOME" and "root of java partition" actually mean. Does the root mean the place from where java gets loaded(ie, output of "which java" command)??
Am using Fedora 12
JAVA_HOME denotes the installation folder of a JRE or SDK. It contains binaries, libraries and documentation. You can find out the root installation directory by typing
$ which java
The part before the bin/java will typically be your JAVA_HOME.
In my case (Debian) it is: /usr/lib/jvm/java-6-sun, file /usr/bin/java is a symlink to /etc/alternatives/java which is a symlink to /usr/lib/jvm/java-6-sun/jre/bin/java
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With