Created
December 13, 2012 21:31
-
-
Save jblaine/4280138 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@ip-10-212-75-158:~# export JAVA_HOME=/opt/java/jdk1.7.0_10 | |
root@ip-10-212-75-158:~# ls $JAVA_HOME | |
bin include LICENSE release THIRDPARTYLICENSEREADME.txt | |
COPYRIGHT jre man src.zip | |
db lib README.html THIRDPARTYLICENSEREADME-JAVAFX.txt | |
root@ip-10-212-75-158:~# service hadoop-0.20-mapreduce-tasktracker start | |
+======================================================================+ | |
| Error: JAVA_HOME is not set and Java could not be found | | |
+----------------------------------------------------------------------+ | |
| Please download the latest Sun JDK from the Sun Java web site | | |
| > http://java.sun.com/javase/downloads/ < | | |
| | | |
| Hadoop requires Java 1.6 or later. | | |
| NOTE: This script will find Sun Java whether you install using the | | |
| binary or the RPM based installer. | | |
+======================================================================+ | |
root@ip-10-212-75-158:~# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment