Recommend JDK 1.6.3x, 1.7 has serval issues within NIO and I wouldn't use them in production,
OpenJDK has sometimes a odd behavior and IBM's JDK - no.
cheers,
Alex
On Nov 8, 2012, at 7:17 AM, Sanjeev Verma <sanjeev.x.verma@gmail.com> wrote:
> AFAIK, openjdk can be used to run hadoop. Why do you want to build hadoop
> from source? Get precompiled binaries and you will be ok.
>
> Also, you can install sun/oracle jdk on ubuntu. Just google for
> instructions, u will find plenty, like here -
> http://www.ubuntututorials.com/install-oracle-java-jdk-7-ubuntu-12-04/.
> These are for jdk 7, but you can follow the same to install jdk 6.
>
> Enjoy!
> On Nov 8, 2012 11:30 AM, "ac@hsk.hk" <ac@hsk.hk> wrote:
>
>> Hi,
>>
>> I am planning to use Ubuntu 12.04, from
>> http://wiki.apache.org/hadoop/HadoopJavaVersions, about OpenJDK
>>
>> "Note*: OpenJDK6 has some open bugs w.r.t handling of generics... so
>> OpenJDK cannot be used to compile hadoop mapreduce code in branch-0.23 and
>> beyond, please use other JDKs."
>>
>> Is it OK to use OpenJDK 7 in Ubuntu 12.04?
>>
>> Thanks
>>
>>
--
Alexander Alten-Lorenz
http://mapredit.blogspot.com
German Hadoop LinkedIn Group: http://goo.gl/N8pCF
|