I got this error "JAVA_HOME "
When trying to install CDH4 of Cloudera Hadoop standalone version.
Although i did all the needed configuration + echo $JAVA_HOME is fine.
+ writing "java" works + writing "java -version" works ok .
Nothing really helped except
1. go to /etc/hadoop/conf
2. edit hadoop-env.sh
add export JAVA_HOME=/usr/lib/jvm/jdk1.6.0_32
then try again, i was trying to format the namenode.
Hoped it helped.
Dor
Showing posts with label jdk. Show all posts
Showing posts with label jdk. Show all posts
Jul 12, 2012
Nov 23, 2010
Eclipse is running in a JRE, but a JDK is required
Hi,
1) Right click on windows eclipse shortcut.
2) add in the end of the Target "-vm pathtojdkliberary"
3) Ensure that the JRE library is setup correctly within eclipse->preferences->JRE
Solution refers both to MyEclipse (not matter if its the Blue version or the regular) and Eclipse.
That's it.
Dor
1) Right click on windows eclipse shortcut.
2) add in the end of the Target "-vm pathtojdkliberary"
3) Ensure that the JRE library is setup correctly within eclipse->preferences->JRE
Solution refers both to MyEclipse (not matter if its the Blue version or the regular) and Eclipse.
That's it.
Dor
Subscribe to:
Posts (Atom)