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

Notices


Reply
  Search this Thread
Old 11-16-2003, 05:19 PM   #1
Ackin
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 http://java.sun.com/j2se/1.4.2/download.html , 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!

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

Rep: Reputation: 15
I dont use Redhat, but this might help... http://forum.java.sun.com/thread.jsp...essage=1994140
or this http://jackburton.blogspot.com/2003_...n_archive.html
If not, I'm sure others will have suggestions for you. Good luck!
 
Old 11-16-2003, 11:35 PM   #3
ilikejam
Senior Member
 
Registered: Aug 2003
Location: Glasgow
Distribution: Fedora / Solaris
Posts: 3,109

Rep: Reputation: 96
Hi.

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
PATH=$PATH:$HOME/bin
Change that to:
PATH=$PATH:$HOME/bin:<path to java installation>/bin
mine looks like:
PATH=$PATH:$HOME/bin:/usr/j2sdk1.4.2/bin )

Dave
 
Old 11-16-2003, 11:42 PM   #4
moeminhtun
Member
 
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
kirvnet
LQ Newbie
 
Registered: Oct 2003
Location: Columbus,GA USA
Distribution: Fedora
Posts: 10

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

Download this http://java.sun.com/webapps/download...?BundleId=8572

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

2)./j2re-1_4_2-linux-i586-rpm.bin

3)su

4) enter your password

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

6)exit

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/libjavaplugin_oji.so


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


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
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


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