Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-02-2009, 05:06 PM   #1
Registered: Aug 2009
Posts: 139

Rep: Reputation: 16
java on linux

how to install java on linux...i am unable to get any help from
Old 10-02-2009, 05:55 PM   #2
LQ Newbie
Registered: Nov 2006
Location: Vimmerby, Sweden
Distribution: Slackware, Fedora
Posts: 10

Rep: Reputation: 0
It's not hard at all. Which distribution do you use?
Old 10-02-2009, 06:56 PM   #3
Registered: Mar 2006
Location: Delft NL
Distribution: Debian; Slackware; windows 7
Posts: 218

Rep: Reputation: 53
When you say you want to instal Java do you want to be able to run java programs or program in java and produce java programs.

either way the easiest way is to use you package manager. On Ubuntu 9.04 you need to run
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-font
and then call java programs by
java program name
other distros will be similar but you need to use apt-get or aptitude in debian based distros (debian, Ubuntu, MintsOS etc...) and yum in RPM based distros (Red Hat, CentOS, Fedora, Madriva etc..)
Old 10-02-2009, 07:05 PM   #4
Registered: Mar 2006
Location: Delft NL
Distribution: Debian; Slackware; windows 7
Posts: 218

Rep: Reputation: 53
Just had a quick look at other posts and you seem to be mainly using rhel

so use yum found a couple of links but these seem out of date and are done using rpm files
Old 10-03-2009, 09:26 AM   #5
Registered: May 2008
Location: Chile - Viņa del Mar
Distribution: Debian
Posts: 50

Rep: Reputation: 16
The important thing is to search, according to your distribution, the packages or sources related to the Java Runtime Environment (commonly referred as JRE). This packages should allow your system to manage java content.


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
[Java] Installing Java on Debian Linux lgp171188 Linux - Software 3 06-20-2009 12:40 PM
JAVA:(jwstric2) Problems in JAVA-LINUX nedian123 Programming 1 06-28-2004 05:12 PM
Linux and Java + Java Media Framework (JMF) perry Programming 0 11-03-2003 11:08 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:18 AM.

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