LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 10-02-2009, 04:06 PM   #1
abhijeetdutta
Member
 
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 http://java.sun.com/j2se/1.4.1/download.html
 
Old 10-02-2009, 04:55 PM   #2
djake
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, 05:56 PM   #3
archShade
Member
 
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
Code:
sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-font
and then call java programs by
Code:
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, 06:05 PM   #4
archShade
Member
 
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

http://cruisenews.net/install_java_o...at_9.htmlhttp:

http://www.lykkenborg.no/java/2005/0...the%20Software
 
Old 10-03-2009, 08:26 AM   #5
Zyndarius
Member
 
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.
 
  


Reply


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 11:40 AM
JAVA:(jwstric2) Problems in JAVA-LINUX nedian123 Programming 1 06-28-2004 04:12 PM
Linux and Java + Java Media Framework (JMF) perry Programming 0 11-03-2003 10:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:27 AM.

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