Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 11-16-2003, 05:19 PM   #1
LQ Newbie
Registered: Aug 2003
Distribution: Red Hat 9.0
Posts: 16

Rep: Reputation: 0
Problems with Java :P

Hi everybody

the thing is, a friend and I have been trying to install Java on our computers for quite a time, both of us have Red Hat 9. we downloaded 'J2SE v 1.4.2_02' (which I believe its the Java we need ) from , installed it, and when we try to open certain programs that need it, we obtain a message back saying we need Java
any ideas? thanks!

Old 11-16-2003, 05:42 PM   #2
Registered: Oct 2003
Location: Houston, TX
Distribution: Debian Sid
Posts: 100

Rep: Reputation: 15
I dont use Redhat, but this might help...
or this
If not, I'm sure others will have suggestions for you. Good luck!
Old 11-16-2003, 11:35 PM   #3
Senior Member
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96

There should be a folder in the j2SE folder called 'bin'. You will have to add this folder to your PATH variable.

(There should be a line in $HOME/.bash_profile that looks like
Change that to:
PATH=$PATH:$HOME/bin:<path to java installation>/bin
mine looks like:
PATH=$PATH:$HOME/bin:/usr/j2sdk1.4.2/bin )

Old 11-16-2003, 11:42 PM   #4
Registered: Dec 2002
Location: Singapore
Distribution: Fedora Core 6
Posts: 647

Rep: Reputation: 30
Set the JAVA_HOME environment variable pointing to the J2SE directory.
And Include the "j2se1.4.2_02/bin" to your PATH.

Something like this,

export JAVA_HOME=/usr/local/j2se1.4.2_02
export PATH=$PATH:$JAVA_HOME/bin

Most of the Java programs should run.
Old 11-18-2003, 09:36 PM   #5
LQ Newbie
Registered: Oct 2003
Location: Columbus,GA USA
Distribution: Fedora
Posts: 10

Rep: Reputation: 0
Try this, this should work.

Download this

Then in your terminal follow these commands
1) chmod a+x j2re-1_4_2-linux-i586-rpm.bin



4) enter your password

5)rpm -Uvh j2re-1_4_2-linux-i586-rpm this line may have to be edited


now it should be installed, now keeping your terminal open you have to link it to your browser.

7)mkdir ~/.mozilla/plugins

8)cd ~/.mozilla/plugins

9)ln -s /usr/java/j2re1.4.2/plugin/i386/ns610/

Now close your browser and reopen it and that should do it.


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
problems with java jtravnick Linux - Software 28 08-04-2005 07:15 AM
Problems with Java Web Start (java 1.4.2 - 1.5.0) on Slackware Egy Slackware 11 05-10-2005 06:30 AM
Java problems vbguru12000 Debian 3 01-28-2005 10:12 PM
JAVA:(jwstric2) Problems in JAVA-LINUX nedian123 Programming 1 06-28-2004 04:12 PM
Problems with java Inexactitude Linux - Software 2 05-25-2004 07:29 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:09 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration