LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-2003, 05:46 AM   #1
key_maker
LQ Newbie
 
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
Wink java in redhat 8


i want to install java in red hat 8

:cry:
 
Old 10-02-2003, 06:23 AM   #2
MiscGeek
Member
 
Registered: Jan 2003
Location: Georgia, US
Distribution: RHEL WS4
Posts: 189

Rep: Reputation: 30
Then go for it Just download the appropriate JDK from Sun and install it.

It comes as a .bin file. You just have to chmod +x <filename> it. Run it and accept the license agreement. It will extract the embedded rpm for you in the same directory. Then just run, as root, "rpm -Uvh <filename>.

That's it other than setting up the $JAVA_HOME and appending the java directory to your path. This can be accomplished by adding the following lines to your /etc/profile or $HOME/.bashrc file. You may have to change the "j2sdk1.4.2" depending on what JDK version you installed.

export JAVA_HOME="/usr/java/j2sdk1.4.2"
export PATH="$PATH::$JAVA_HOME/bin"

Mike
 
  


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
Redhat 9 and Java TheMysticWizard Linux - Newbie 2 06-30-2005 09:05 AM
java and linux redhat 9 Roitoy Linux - Newbie 5 05-21-2004 04:17 AM
Java Doesn't Work On RedHat 8 LinuxNoob17 Linux - Software 1 05-02-2004 02:50 AM
Java in Redhat. Peleus Programming 4 04-05-2004 01:26 PM
x-java-vm for Redhat V9 mfeat Red Hat 5 10-30-2003 09:28 PM


All times are GMT -5. The time now is 08:23 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration