Ubuntu: How to download JDK for Android programming [duplicate]



Question:

This question already has an answer here:

I'm using Ubuntu 12.04 64 bit. I'm going to start programming for android devices.

I know that I will need to install a JDK, but I don't have access to oracle.com.

How do I get it?


Solution:1

Any help you need can probably be found here.

So, install by doing

sudo apt-get install openjdk-6-jdk  

or

sudo apt-get install openjdk-7-jdk  


Solution:2

Type below commands on terminal.

sudo add-apt-repository ppa:webupd8team/java  sudo apt-get update  sudo apt-get install oracle-java7-installer  

Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »