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

link|improve this question
feedback

closed as exact duplicate by Jorge Castro, fossfreedom, Jacob Johan Edwards, jokerdino, htorque Jan 28 at 8:00

This question covers exactly the same ground as earlier questions on this topic; its answers may be merged with another identical question. See the FAQ for guidance on how to improve it.

1 Answer

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

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

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