Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm on Ubuntu 11.10 and I wanna know which version (OpenJDK or Sun's one or whatever) is the best to develop applications and use it with Eclipse, and how to install it. Thank you.

share|improve this question

2 Answers 2

You can have various JDK side-by-side in the same machine. This is needed because sometimes you are on a 64-bit machine but need to run a specific 32-bit stuff. Also there are others JVM availables, some (open source): JamVM, Cacao, JatoVM. They are usually made for a specific niche and unfortunately are not complete as the reference JVM (from Sun/Oracle). The official JVM (from Oracle/Sun), due to it's completeness, is your best bet in almost all occasions.

Since you pretend to develop Android applications I highly recommend using the Sun (Oracle) 1.7 i386 JDK. Why? Not only it's the official JVM but due to android not having a 64-bit SDK.

This link provides a step-by-step installation of the Sun (Oracle) 1.7 JDK:

share|improve this answer

OpenJDK or Sun's Oracle's JDK... it depends on what kind of applications you're going to develop. There is plenty of Java software that currently won't play well with OpenJDK. (eg. Android SDK, IntelliJ Idea, PyCharm, etc).

For casual Java learning, OpenJDK should suffice. You'll just know when/if you need Oracle's JDK, then you can look at solutions like this or this.

share|improve this answer
    
I'll develop Android apps, so I guess I'll go with Oracle's JDK since I'm looking for the best compatibility. Thank you. –  Nick Oh Jan 27 '12 at 4:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.