Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is Sun Java really necessary for using Android SDK on Ubuntu 10.10? I prefer OpenJDK

I would prefer to just use openjdk-6-jdk (version 6b20-1.9.1-1ubuntu3). But I'm just starting the Android SDK installation, so if Sun (Oracle) Java is really needed, I suppose now is the time to install it. Any advice?

like image 704
MountainX Avatar asked Nov 02 '10 03:11

MountainX


People also ask

Does Android SDK need Java?

Since Android apps are written in Java, you will need the Oracle Java compiler and libraries on your system. These are collectively called the Java Development Kit or "JDK" for short. (If you are certain that you already have JDK 1.8 or higher on your computer, such as from taking CS 106A, you can skip to Step 2.)

Does Android use OpenJDK?

OpenJDK comes bundled with Android Studio 2.2 and higher, and this is the JDK version we recommend you use for your Android projects.


1 Answers

I'm using JDK for working on Android and it's fine :)

java -version java version "1.6.0_20" OpenJDK Runtime Environment (IcedTea6 1.9.1) (6b20-1.9.1-1ubuntu3) OpenJDK 64-Bit Server VM (build 17.0-b16, mixed mode) 

And eclipse plugin too :)

like image 116
ykatchou Avatar answered Sep 26 '22 04:09

ykatchou