For Android , Java JDK6 setup problem in Ubuntu 12.04

Java JDK setup

Ubuntu now comes only with OpenJDK which does not work for building the Rowboat Android Jelly Bean sources. Please follow the following steps to setup the Sun JDK:

Download the Sun Java JDK from the following link: http://www.oracle.com/technetwork/java/javase/downloads/jdk6-downloads-1637591.html You need to download the Linux x64 bin installer. (Not the rpm installer)

Install the JDK into your home using the following commands:

  $ cp jdk-6u33-linux-x64.bin ~/
  $ cd ~
  $ chmod a+x jdk-6u33-linux-x64.bin
  $ ./jdk-6u33-linux-x64.bin