LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-06-2003, 12:30 AM   #16
pf1359
LQ Newbie
 
Registered: Mar 2003
Location: STL USA
Distribution: SuSE 9.0
Posts: 22

Rep: Reputation: 15

I have the same problem with my Redhat 9 install. I have attempted to install both the blackdown port and the Sun Beta (j2sdk 1.4.2 Beta) on my system. I followed the directions explicitly and created a path in ~/.bash_profile. Now, when I type javac, I get a list of arguments, as it says I should. I have both a /mozilla and a /mozilla-1.2.1 in my /usr/lib/, so I made a symlink in each directory's plugins subdirectory. My command was:
ln -s /usr/local/j2sdk1.4.2/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so .
I did this while in /usr/lib/mozilla/plugins and again in /usr/lib/mozilla-1.2.1/plugins. When I ls -l it shows the valid path after the symlink.

After all of this, I still don't get a plugin in my browser. What did I miss?
 
Old 05-06-2003, 12:32 AM   #17
pf1359
LQ Newbie
 
Registered: Mar 2003
Location: STL USA
Distribution: SuSE 9.0
Posts: 22

Rep: Reputation: 15
I also tried the trick of going to bbc.com, but I didn't get any prompt to download anything. I even tried it with a fresh install on another machine.
 
Old 05-06-2003, 04:50 PM   #18
vexer
Member
 
Registered: Jan 2003
Location: Sudbury Ontario, Canada
Distribution: Slackware
Posts: 388

Original Poster
Rep: Reputation: 30
ln -sf /usr/src/j2re1.4.1/plugin/i386/mozilla/javaplugin_oji.so /usr/lib/mozilla-1.3/plugins/javaplugin_oji.so

chown -R :100 javapluging_oji.so (100 being the stander used group.)

About:Plugins shows all the files / features of the java plugin.
 
Old 05-06-2003, 06:08 PM   #19
pf1359
LQ Newbie
 
Registered: Mar 2003
Location: STL USA
Distribution: SuSE 9.0
Posts: 22

Rep: Reputation: 15
OK, I didn't change the symlink, as I have j2sdk1.4.2, and I placed it in /usr/local rather than /src.

I did chown -R :501 libjavaplugin_oji.so, with 501 being my default group number and libjavaplugin_oji.so as the only file in the j2sdk directory.

When I check aboutlugins, it shows my Shockwave Flash plugin, but nothing about Java. Java still doesn't work in the browser.
 
Old 05-06-2003, 06:09 PM   #20
pf1359
LQ Newbie
 
Registered: Mar 2003
Location: STL USA
Distribution: SuSE 9.0
Posts: 22

Rep: Reputation: 15
Stupid smilies. That should read about: plugins
 
Old 05-11-2003, 01:41 AM   #21
pf1359
LQ Newbie
 
Registered: Mar 2003
Location: STL USA
Distribution: SuSE 9.0
Posts: 22

Rep: Reputation: 15
I guess nobody else has had this problem?

My fileserver is running Redhat 8.0, and I performed the exact same series of commands on it. The Java plug-in installled correctly, and works fine. What do I have to do differently on Redhat 9?
 
Old 05-11-2003, 04:17 AM   #22
zakl
Member
 
Registered: May 2003
Location: Texas
Distribution: Gentoo
Posts: 80

Rep: Reputation: 15
I just posted this in a different thread, but check this site out:

http://mozilla.weebeastie.net/java.shtml

I followed everything on that page exactly, and step by step, and the end result was a fully compatible and functioning set of java plugins in mozilla. This does not use blackdown though, it uses sun's j2re.

Zak
 
Old 05-11-2003, 12:58 PM   #23
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
Quote:
Originally posted by pf1359
I guess nobody else has had this problem?

My fileserver is running Redhat 8.0, and I performed the exact same series of commands on it. The Java plug-in installled correctly, and works fine. What do I have to do differently on Redhat 9?
what version of mozilla are you using?

provide gcc version you are using this way from term window:

gcc -v

provide the mozilla version:

mozilla -v

make sure you don't have gcc-java installed also.
 
Old 05-11-2003, 01:25 PM   #24
pf1359
LQ Newbie
 
Registered: Mar 2003
Location: STL USA
Distribution: SuSE 9.0
Posts: 22

Rep: Reputation: 15
zakl- Thanks for the website, but it gives basically the same instructions as the blackdown.org and Sun sites. The only difference was the warning of the bug in versions of Mozilla, but I am using a more current version than that.

gcc 3.2.2-5
mozilla 1.2.1 build 2030225

I can't find any indication of gcc-java being installed.
 
Old 05-11-2003, 01:30 PM   #25
macewan
Senior Member
 
Registered: Jan 2002
Distribution: Ubuntu, Debian
Posts: 1,055
Blog Entries: 1

Rep: Reputation: 45
ftp://metalab.unc.edu/pub/linux/deve...586-gcc3.2.bin
 
Old 05-11-2003, 01:32 PM   #26
zakl
Member
 
Registered: May 2003
Location: Texas
Distribution: Gentoo
Posts: 80

Rep: Reputation: 15
Your welcome... btw, I didn't notice your question about what to use for Redhat 9, but I used those instructions on my redhat 8 box, and this box was Redhat 9 before I switched to Gentoo. And by those directions, my redhat 9 mozilla install worked great too.

Zak
 
Old 05-12-2003, 01:15 AM   #27
pf1359
LQ Newbie
 
Registered: Mar 2003
Location: STL USA
Distribution: SuSE 9.0
Posts: 22

Rep: Reputation: 15
Well, I solved it in a rather unorthodox way. Installing either JRE or SDK was unsuccessful, so I decided to try it with Netscape. I downloaded 7.02 and went to the java page. It asked me if I wanted to download the plugin, and I did. It installed JRE in /usr/java, and I symlinked the file to the plugins directories of both Netscape and Mozilla. It works. Wish I knew the difference between this and the way I was doing it before (the way everyone recommended doing 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
convert from jre-...-rpm.bin into jre-...rpm gimi_k2 Linux - Newbie 3 07-18-2005 07:34 PM
Jre inescapeableus Linux - Newbie 3 04-18-2004 11:04 PM
JRE Install GiveItAShot Linux - Software 1 03-18-2003 12:55 PM
java jre luap Linux - Software 5 02-17-2003 12:41 AM
JRE Problems sunilkgarg Linux - Newbie 2 09-02-2001 08:36 AM


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