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.

As mentioned here, by running this commande you shoud have the JRE of J7.

 $ sudo apt-get install openjdk-7-jre

But i cant always find the package in the officiel reposory of ubuntu even after updating my /etc/apt/sources.list . Am i the only one how have this problem or its a question of my ubuntu version.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

openjdk version 7 was only available in the standard ubuntu repositories for Oneiric (11.10).

Both maverick (10.10) and natty (11.04), only version 6 of openjdk is available.

You have a couple of choices.

First consider upgrading through 11.04 to 11.10. You are probably already considering this since you are aware Maverick is just about to lose its official support.

Alternatively, you may wish to consider installing Oracle Java - either v6 or v7

How to install Java?

share|improve this answer

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.