Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-20-2008, 01:26 PM   #1
Registered: May 2006
Location: Leominster, Massachusetts
Distribution: Kubuntu 10.04
Posts: 56

Rep: Reputation: 15
How to install JRE?

I'm running Ubuntu 7.04, and I need to install a java runtime environment (JRE). I'm a newbie, and I have no idea how to do this. Would one of you gurus out there be willing to post a simple, clear step by step "how-to" that I can follow? I'd really appreciate the help.
Old 01-20-2008, 01:30 PM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Applications menu => Add/Remove (or: System => Administration => Synaptic)

Then if you use Add/Remove tool, select from the top side's drop-down list the "Everything" option which shows every possible app available (not just the "officially supported" ones), type "jre" into the search field, wait a moment, and "Sun Java Runtime" should come to the results list. Check it and hit the Apply button.

Or if you used Synaptic, click Search, search for "jre" or "java runtime", wait for the results, select the appropriate java runtime package to be installed and click Apply.

Easy as that. Works trough command line also, if you know the package name:
sudo apt-get install packagename
NOTE: it is possible to visit Sun's website too, download their Java runtime installer package and run it (in a command prompt?), and have it install itself to the system. However it's easier to use Add/Remove or Synaptic (in general: apt, the package manager), and in addition it allows for easy updating of the package should an update come to the internet reposities of Ubuntu later. In case of a "manually" installed JRE package you should track when it's updated and repeat the installation process. I'd say stick to the Ubuntu's package manager tools when you can, and you're easier off.

Last edited by b0uncer; 01-20-2008 at 01:33 PM.
Old 01-20-2008, 01:37 PM   #3
Registered: May 2006
Location: Leominster, Massachusetts
Distribution: Kubuntu 10.04
Posts: 56

Original Poster
Rep: Reputation: 15
Thank you b0uncer, I'll give it a try!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to Install Java JRE carlosinfl Linux - Software 6 12-24-2006 02:20 PM
install jre for a newbie lematyke Linux - Software 2 02-15-2006 10:59 AM
Can't install latest JRE EOHooligan Linux - Software 1 02-08-2005 06:28 PM
cannot install JRE in RH8 wrench38 Linux - Software 8 12-26-2003 08:41 PM
JRE Install GiveItAShot Linux - Software 1 03-18-2003 12:55 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:35 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration