Visit Jeremy's Blog.
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-2003, 06:46 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
Wink java in redhat 8

i want to install java in red hat 8

Old 10-02-2003, 07:23 AM   #2
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"



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

All times are GMT -5. The time now is 06:40 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