Anand,
Sorry about that, I was assuming Redhat/Centos.
For Ubuntu, try sudo update-alternatives --config java.


Sent from my Verizon Wireless 4G LTE smartphone

-------- Original message --------
From: Anand Murali <[email protected]> 
Date: 04/01/2015  7:22 AM  (GMT-05:00) 
To: [email protected] 
Subject: Re: Hadoop 2.6 issue 

Dear Mr.Roland:
The alternatives command errors out. I have the extracted version of the Oracle 
JDK7. However I am ignorant regarding its installation on Ubuntu. Can you point 
me to installation material so that I can look up and try.
Thanks
Regards,
 Anand Murali  11/7, 'Anand Vihar', Kandasamy St, MylaporeChennai - 600 004, 
IndiaPh: (044)- 28474593/ 43526162 (voicemail)  


     On Wednesday, April 1, 2015 4:33 PM, Roland DePratti 
<[email protected]> wrote:
    

 #yiv4496133200 #yiv4496133200 --
 
 _filtered #yiv4496133200 {font-family:Helvetica;panose-1:2 11 6 4 2 2 2 2 2 4;}
 _filtered #yiv4496133200 {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}
 _filtered #yiv4496133200 {font-family:Wingdings;panose-1:5 0 0 0 0 0 0 0 0 0;}
 _filtered #yiv4496133200 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
 _filtered #yiv4496133200 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv4496133200  
#yiv4496133200 p.yiv4496133200MsoNormal, #yiv4496133200 
li.yiv4496133200MsoNormal, #yiv4496133200 div.yiv4496133200MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv4496133200 a:link, #yiv4496133200 span.yiv4496133200MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv4496133200 a:visited, #yiv4496133200 span.yiv4496133200MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv4496133200 p.yiv4496133200MsoAcetate, #yiv4496133200 
li.yiv4496133200MsoAcetate, #yiv4496133200 div.yiv4496133200MsoAcetate
        {margin:0in;margin-bottom:.0001pt;font-size:8.0pt;}
#yiv4496133200 p.yiv4496133200MsoListParagraph, #yiv4496133200 
li.yiv4496133200MsoListParagraph, #yiv4496133200 
div.yiv4496133200MsoListParagraph
        
{margin-top:0in;margin-right:0in;margin-bottom:0in;margin-left:.5in;margin-bottom:.0001pt;font-size:12.0pt;}
#yiv4496133200 span
        {}
#yiv4496133200 span.yiv4496133200BalloonTextChar
        {}
#yiv4496133200 span.yiv4496133200EmailStyle20
        {color:#1F497D;}
#yiv4496133200 .yiv4496133200MsoChpDefault
        {font-size:10.0pt;}
 _filtered #yiv4496133200 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv4496133200 div.yiv4496133200WordSection1
        {}
#yiv4496133200  
 _filtered #yiv4496133200 {}
 _filtered #yiv4496133200 {}
 _filtered #yiv4496133200 {}
 _filtered #yiv4496133200 {font-family:Wingdings;}
 _filtered #yiv4496133200 {font-family:Symbol;}
 _filtered #yiv4496133200 {}
 _filtered #yiv4496133200 {font-family:Wingdings;}
 _filtered #yiv4496133200 {font-family:Symbol;}
 _filtered #yiv4496133200 {}
 _filtered #yiv4496133200 {font-family:Wingdings;}
#yiv4496133200 ol
        {margin-bottom:0in;}
#yiv4496133200 ul
        {margin-bottom:0in;}
#yiv4496133200 Anand,  My guess is that your alternatives setup isn’t complete. 
 At a prompt, as su, run the command ‘alternatives - - config java’. Make sure 
that the oracle version is listed and is marked as the active one.   If it is 
not, go through the steps to make sure it is.  -          rd  From: Anand 
Murali [mailto:[email protected]] 
Sent: Wednesday, April 01, 2015 5:42 AM
To: [email protected]
Subject: Re: Hadoop 2.6 issue  I continue to get the samede error.I  export 
JAVA_HOME=/home/anand_vihar/jdk1.0.7_u75 (in hadoop-env.sh)    when I echo 
$JAVA_HOME it shows me the above path but when I $java -version, it gives me 
openjdk version  start-dfs.sh ....... errors out saying JAVA_HOME not set., but 
echo shows JAVA_HOME. Strange !!    Regards, Anand Murali  11/7, 'Anand Vihar', 
Kandasamy St, MylaporeChennai - 600 004, IndiaPh: (044)- 28474593/ 43526162 
(voicemail)  

Reply via email to