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 can I install Sun/Oracle's proprietary Java 6/7 JRE or JDK?

I want to make server with Xubuntu but i don't know anything about Linux, So is there any software which can install Java Jre 7 automatically. -Windows uses too Much Ram-

share|improve this question

marked as duplicate by SirCharlo, Stephen Myall, hbdgaf, Thomas W., belacqua Aug 24 '12 at 18:43

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.

add comment

1 Answer 1

I think this is what you want. Run the following command in Terminal.

sudo apt-get install openjdk-7-jre


Quick tip

When you're searching for a program like this, try the following command:

apt-cache search keywords here

So for instance,

apt-cache search jre 7

Gives this:

icedtea-7-jre-jamvm - Alternative JVM for OpenJDK, using JamVM
openjdk-7-jre - OpenJDK Java runtime, using Hotspot JIT
openjdk-7-jre-headless - OpenJDK Java runtime, using Hotspot JIT (headless)
openjdk-7-jre-lib - OpenJDK Java runtime (architecture independent libraries)
openjdk-7-jre-zero - Alternative JVM for OpenJDK, using Zero/Shark

You may then use common sense to figure out which package to install.

share|improve this answer
    
+1 for "apt-cache search" –  BryceAtNetwork23 Aug 23 '12 at 15:05
add comment

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