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.

Possible Duplicate:
How to install Oracle Java JDK 6?

I want to install JDK 6u30 or later on ubuntu (but not java 7), how can I do so?

I'm on ubuntu 11.10

share|improve this question

marked as duplicate by Jorge Castro, fossfreedom, Jacob Johan Edwards, jokerdino, htorque Jan 28 '12 at 8:00

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer 1

As far as I remember I have installed it with the following command:

sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk

But here is the official way from Oracle how to do it: jdk6_30 install

share|improve this answer
    
this is for a server, so no GUI. –  codecompleting Jan 27 '12 at 21:12

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