LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Installing Java JDK, Android SDK, and Eclipse for Android app development (https://www.linuxquestions.org/questions/linux-software-2/installing-java-jdk-android-sdk-and-eclipse-for-android-app-development-4175529187/)

leupi 12-24-2014 08:29 PM

Installing Java JDK, Android SDK, and Eclipse for Android app development
 
I would like to play around with some Android app development (I'll be over my head but ya gotta push the envelope) and had some questions regarding installing Java JDK, Android SDK, and Eclipse.

When I run
Code:

Java -version
I get the following
Code:

java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.3) (7u71-2.5.3-0ubuntu0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

My assumption is that the shown Java version is not sufficient and I need to download jdk-8u25-linux-x64.tar.gz. If this is true would I also need to remove the Open JDK versions so there will be no conflicts? If I do install the jdk-8u25-linux-x64.tar.gz I'm not sure where to install it. I'm running Linux Mint and more of a .deb kinda guy. I certainly know how to extract a tar.gz file but I'm not sure exactly where to extract it (/usr/local/bin?).

When I downloaded the Android SDK I found it at http://developer.android.com/sdk/index.html and it was a .zip file. I extracted it and looked at the install-linux-tar.txt file and read
Quote:

Unpack the Android Studio distribution archive that you downloaded to where you wish to install the program. We will refer to this destination location as your {installation home} below.
Again, I'm not really sure where I should install the program.

With Eclipse I simply used the Ubuntu repository and it installed so I should be OK there. At least it seemed to start with no problems.

I guess with the ease of installing .deb files I never really learned exactly 'where' programs are supposed to be installed as the .deb did all the work behind the scenes. Any advice would be greatly appreciated.

kindofabuzz 12-25-2014 01:01 AM

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

done.


All times are GMT -5. The time now is 04:32 AM.