Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # general >> what's wrong? i have set JAVA_HOME, but the error tells i haven't set it:(


Copy link to this message
-
RE: what's wrong? i have set JAVA_HOME, but the error tells i haven't set it:(
Hi Smith,

How did you set the $JAVA_HOME?

Can you set JAVA_HOME permanently in /etc/profile and try running again?
Thanks
Devaraj

________________________________________
From: smith jack [[EMAIL PROTECTED]]
Sent: Thursday, May 17, 2012 3:29 PM
To: [EMAIL PROTECTED]
Subject: what's wrong? i have set JAVA_HOME, but the error tells i haven't set it:(

[jack@localhost tools]$ echo $JAVA_HOME
/home/jack/dsk/tools/gov/jdk1.6.0_12
[jack@localhost tools]$ hadoop
Error: JAVA_HOME is not set and could not be found.

the version of hadoop i use is 0.23.0
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB