LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 06-30-2004, 08:30 PM   #1
AMArt79196
Member
 
Registered: Jun 2004
Posts: 31

Rep: Reputation: 15
Help With Installing Java Vm On Rh9.0


PLEASE HELP WITH INSTALLING JAVA VM ON REDHAT 9.0!!!
 
Old 06-30-2004, 09:02 PM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
1 - Please, don't use upper cases like that: IT LOOKS LIKE YOU ARE SHOUTING AT US.
2 - You've to first tell you what you are trying to do, that could be anything: Where you downloaded Java VM, which version, how you are trying to install and why you could not install Java (errors, whatever).

Anyway, take a look at this thread:

http://www.linuxquestions.org/questi...highlight=Java

post #3.
...
 
Old 07-01-2004, 02:12 PM   #3
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
hello every 1 i have just managed after 3 months to get java to show up in my mozilla plugins dir but
only as root user and when i attemt to go in to a site that require java, mozilla crashes.i am running redhat 9 and i installed "j2sdk-1_4_2_04" if any 1 can assist me any further i would appreciate it thanks.
 
Old 07-01-2004, 02:16 PM   #4
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hi there master!!!

The reason because Mozilla is crashing is because you are using the wrong plugin. Some versions of Mozilla work with "ns610-gcc", while others with "ns610" only. Take a look at this post:

http://www.linuxquestions.org/questi...171#post921171

more precisely Step number 4.

Any problem, let me know.

Regards!
 
Old 07-01-2004, 03:11 PM   #5
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
hello thanks 4 your reply now what i did was retype the link
"ln -s /usr/local/java/j2sdk1.4.2_04/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/local/mozilla/plugins"
the reply was file exists
so i then typed "n -s /usr/local/java/j2sdk1.4.2_04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /usr/local/mozilla/plugins"
the reply was file exists .
does this mean i have installed both" ns610 " and "ns610-gcc32" and that i need to delete one of them thanks 4 ur time
 
Old 07-01-2004, 03:25 PM   #6
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
i was a bit slow just been reading ur thread again megaman "master!!!"
maybe i should change my username but 1 day u never know i might make it yet
 
Old 07-01-2004, 10:16 PM   #7
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
So it's working? Cool. Otherwise, remove the link and make a new one

rm -rf /usr/local/mozilla/plugins/libjavaplugin_oji.so

and then one of these shall work:

ln -s /usr/local/java/j2sdk1.4.2_04/jre/plugin/i386/ns610/libjavaplugin_oji.so /usr/local/mozilla/plugins

ln -s /usr/local/java/j2sdk1.4.2_04/jre/plugin/i386/ns610-gcc/libjavaplugin_oji.so /usr/local/mozilla/plugins

Cheers!

P.S: you nick is cool, and you should stick with it. And you are a master already, think that over 95% of the computers users has no idea what Linux is
 
Old 07-02-2004, 04:17 PM   #8
master
Member
 
Registered: Oct 2003
Location: Birmingham/Eng/UK
Distribution: /Debian3.1/suse/Win7/8/10
Posts: 680

Rep: Reputation: 30
hello megaman x what i did was type rm -rf /usr/local/mozilla/plugins/libjavaplugin_oji.so
to remove the link i then reinstalled it with this command
"ln -s /usr/local/java/j2sdk1.4.2_04/jre/plugin/i386/ns610-gcc/libjavaplugin_oji.so /usr/local/mozilla/plugins"then when i go in to
"/usr/local/mozilla/plugins"
if i click on the libjavaplugin icon i see an error message which says
This link can't be used, because its target "/usr/local/java/j2sdk1.4.2_04/jre/plugin/i386/ns610/libjavaplugin_oji.so" doesn't exist. Do you want to move this link to the Trash?
how can it not exist if i can clearly see it in "about plugins" any more ideas to help
"
 
Old 07-02-2004, 09:53 PM   #9
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Hey master!

Yeah, Java can be tough sometimes, thanks to Sun . It sounds like your JRE is broken, so we are better off starting fresh . This happens really often when you download things from them, also thanks for Sun (yeah, been having some hard times with Sun...lol).

I'd recommend you deleting you deleting your jre folder and installing a new one:

1 - Remove JRE:
Code:
rm -rf /usr/local/java/j2sdk1.4.2_04/
2 - Download a new one from Sun's:
www.sun.com

Just don't download the .rpm, get .bin instead. You will have a hard time finding JRE in there, that site is even worse then Microsoft. Well, maybe because it's Sun .

3 - Move that file to /usr/local.
Code:
mv j2re-xxxx.bin /usr/local
4 - Run the installer:
Code:
cd /usr/local/
./ j2re-xxxx.bin
5 - A directory at /usr/local called j2re-xxx will be created. Make a symlink to Mozilla's directory plugin:

Code:
ln -s /usr/local/jre-xxx/plugin/i386/ns610-gcc/libjavaplugin_oji.so /usr/local/mozilla/plugins
That hopefully will work. A few hints: I've noticed that you are using j2sdk. The Software Development Kit is only useful if you are going to program in Java. Otherwise, JRE will do and safe you some space . Another thing is, sometimes, if you make a link to /home/<you>/.mozilla/plugins instead of Mozilla location, it might work. Don't asl me why, but I bet Sun's know .

Good luck my friend!
 
  


Reply



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-install-RH9 ahmed4linux LinuxQuestions.org Member Success Stories 1 02-20-2005 08:21 AM
JAVA Not Found Running RH9.0 bpellet314 Linux - Newbie 1 01-12-2005 04:45 PM
Installing RH9 AceTech747 Red Hat 4 12-02-2003 10:55 AM
Java 1.4.2 for MozillaFirebird seems to be installed but not working in RH9 krome Linux - Software 6 10-26-2003 05:18 PM
RH9 + Mozilla + Java Yocal Linux - Software 5 08-29-2003 03:36 PM

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

All times are GMT -5. The time now is 02:42 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
Open Source Consulting | Domain Registration