LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 02-19-2003, 04:12 PM   #1
brucehohl
Member
 
Registered: Jan 2003
Location: Ohio
Distribution: SuSE
Posts: 33

Rep: Reputation: 15
Java & Netscape 7


Problem:
I hate to add another post on Java and Netscape but I'm stuck and I can't see what I've missed from the other posts. Here's what I did. I installed Netscape 7. It works fine. Java was already installed by default in my SuSE 8.1 so I followed Netscape's instructions to link java to Netscape. Java is now listed in Netscape > Home > About Plugins. But java does not appear to work since I can not use Yahoo games, Yahoo chat or Webmin file manager.

Instructions I followed from Netscape:
1 - rm /home/bruhoh/.netscape/plugins/javaplugin.so. That directory was empty and is still empty.

2 - Created text file /etc/profile.local with the following contents: "export NPX_PLUGIN_PATH = /usr/lib/SunJava2-1.3.1/jre/plugin/i386/ns4" Ran same command from terminal and then ran set|more to confirm path was accepted - OK. Note that SuSE 8.1 says to add custom setting to profile.local instead to profile so custom settings are not lost upon upgrade.

3 - Linked libjavaplugin_oji.so file to /usr/local/netscape/plugins with following command: ln -s /usr/lib/SunJava2-1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so /usr/local/netscape/plugins. Used Konqueror to verify link - @libjavaplugin_oji.so was linked - OK. Note that /home/bruhoh/.netscape6/plugins is linked to /usr/local/netscape/plugins so same files listed there.

4 - Opened Netscape and checked Help > About Plug-ins. Java plug-in 1.3.1_04-b02 was listed but I still was unable to open Webmin File Manager, Yahoo Chat or a Yahoo Game (all require java).

Set|more includes:
JAVA_HOME = /usr/lib/java/jre
PATH = /usr/lib/java/jre/bin
note
/usr/lib/java is linked to /usr/lib/SunJava2-1.3
/usr/lib/SunJava2-1.3.1 is linked to /usr/lib/SunJava2-1.3.1
NPX_PLUGIN_PATH = /usr/lib/SunJava2-1.3.1/jre/plugin/i386/ns4

Plugins at:
/usr/lib/SunJava2-1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
/usr/lib/SunJava2-1.3.1/jre/plugin/i386/ns4/javaplugin.so

Plugins directories at:
/home/bruhoh/.netscape/plugins (empty directory)
/home/bruhoh/.netscape6/plugins (linked to /usr/local/netscape/plugins)

/usr/local/netscape/plugins (includes libflashplayer.so, libnullplugin.so, @libjavaplugin_oji.so)
These are the plugins listed at Home > About Plug-ins for Netscape.

/opt/netscape/plugins (includes libflashplayer.so, libnullplugin.so, nppdf.so, rpnp.so)
These are the plugsins listed at Home > About Plug-ins for Mozilla.

Help! Does anyone see what I did wrong or missed?
 
Old 03-02-2003, 03:45 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: Java & Netscape 7

Quote:
Originally posted by brucehohl
Problem:
I hate to add another post on Java and Netscape but I'm stuck and I can't see what I've missed from the other posts. Here's what I did. I installed Netscape 7. It works fine. Java was already installed by default in my SuSE 8.1 so I followed Netscape's instructions to link java to Netscape. Java is now listed in Netscape > Home > About Plugins. But java does not appear to work since I can not use Yahoo games, Yahoo chat or Webmin file manager.

Instructions I followed from Netscape:
1 - rm /home/bruhoh/.netscape/plugins/javaplugin.so. That directory was empty and is still empty.

2 - Created text file /etc/profile.local with the following contents: "export NPX_PLUGIN_PATH = /usr/lib/SunJava2-1.3.1/jre/plugin/i386/ns4" Ran same command from terminal and then ran set|more to confirm path was accepted - OK. Note that SuSE 8.1 says to add custom setting to profile.local instead to profile so custom settings are not lost upon upgrade.

3 - Linked libjavaplugin_oji.so file to /usr/local/netscape/plugins with following command: ln -s /usr/lib/SunJava2-1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so /usr/local/netscape/plugins. Used Konqueror to verify link - @libjavaplugin_oji.so was linked - OK. Note that /home/bruhoh/.netscape6/plugins is linked to /usr/local/netscape/plugins so same files listed there.

4 - Opened Netscape and checked Help > About Plug-ins. Java plug-in 1.3.1_04-b02 was listed but I still was unable to open Webmin File Manager, Yahoo Chat or a Yahoo Game (all require java).

Set|more includes:
JAVA_HOME = /usr/lib/java/jre
PATH = /usr/lib/java/jre/bin
note
/usr/lib/java is linked to /usr/lib/SunJava2-1.3
/usr/lib/SunJava2-1.3.1 is linked to /usr/lib/SunJava2-1.3.1
NPX_PLUGIN_PATH = /usr/lib/SunJava2-1.3.1/jre/plugin/i386/ns4

Plugins at:
/usr/lib/SunJava2-1.3.1/jre/plugin/i386/ns600/libjavaplugin_oji.so
/usr/lib/SunJava2-1.3.1/jre/plugin/i386/ns4/javaplugin.so

Plugins directories at:
/home/bruhoh/.netscape/plugins (empty directory)
/home/bruhoh/.netscape6/plugins (linked to /usr/local/netscape/plugins)

/usr/local/netscape/plugins (includes libflashplayer.so, libnullplugin.so, @libjavaplugin_oji.so)
These are the plugins listed at Home > About Plug-ins for Netscape.

/opt/netscape/plugins (includes libflashplayer.so, libnullplugin.so, nppdf.so, rpnp.so)
These are the plugsins listed at Home > About Plug-ins for Mozilla.

Help! Does anyone see what I did wrong or missed?
well i did not not
did you enabled java(in preferences)
nothing seems wrong so maybe i missed something too
maybe you could try to reinstall netscape
 
Old 03-02-2003, 06:53 AM   #3
brucehohl
Member
 
Registered: Jan 2003
Location: Ohio
Distribution: SuSE
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks for the reply.

In Netscape 7 there is not a place to enable Java. This differs from earlier versions. Note that Java2 does show in Home > About Plug-ins.

I could try to reinstall and reconfigure both Netscape 7 and Java2. I may wait until the next version of Netscape 7.x just in case this is really a problem with Netscape 7. I find it oddly coincidental that the Netscape 7 download for Linux did not include Java2 by default but it was included in Netscape 7 for Windows. I'm also currently tied up with improving network security.

On a related note Konqueror 3 won't work with Java2. Per SuSE support DB this is because Konqueror is compiled with gcc-3.x and does not support Java2 which is compiled with gcc-2.x. A patch is pending.

I'm with you. The push to war to solve the Iraq matter is a most unintelligent and unimaginative approach. Better alternative courses of action are available.
 
Old 03-02-2003, 09:33 PM   #4
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Quote:
Originally posted by brucehohl
Thanks for the reply.

In Netscape 7 there is not a place to enable Java. This differs from earlier versions. Note that Java2 does show in Home > About Plug-ins.

I could try to reinstall and reconfigure both Netscape 7 and Java2. I may wait until the next version of Netscape 7.x just in case this is really a problem with Netscape 7. I find it oddly coincidental that the Netscape 7 download for Linux did not include Java2 by default but it was included in Netscape 7 for Windows. I'm also currently tied up with improving network security.

On a related note Konqueror 3 won't work with Java2. Per SuSE support DB this is because Konqueror is compiled with gcc-3.x and does not support Java2 which is compiled with gcc-2.x. A patch is pending.

I'm with you. The push to war to solve the Iraq matter is a most unintelligent and unimaginative approach. Better alternative courses of action are available.
thanks a lot for your support
and about the netscape thing
i am using netscape 6.2 in redhat 7.3 and it works
i have no problem with java till now
of course i have the jdk1.3 installed too
but i have met some people who have some trouble with jre
and about the gcc
gcc-3.2 is jdk1.2 compliant(quite a improvement)
keep posted

Last edited by rch; 03-02-2003 at 09:53 PM.
 
Old 03-03-2003, 01:57 PM   #5
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
not sure what you did but you dont need all these links....install java in whatever....i installed in /usr/local, then install netscape, gointo the netscape plugin directory

ln -s /usr/local/java/j2re1.4.1_01/plugin/i386/ns610/libjavapluginoji.so


thats all you need

one thing not really relating to java...but if you use netscape and mozilla for the same user they both share the /home/username/.mozilla folder....and when they both are sharing the same folder stuff ges really messed up. so what i do is say i have been using mozilla and then my little bro wants to use netscape and talk to his friends on aim, i jsut change .mozilla to .mozillaM, so then netscape makes a new folder and doesnt overwrite the stuff in .mozilla, then when i want to go back to using mozilla i jsut change .mozillaM to .mozilla and change the netscapes folder to .mozillaN. I dont know if you have seen what happens when they share a folder but you get netscape with mozilla buttons, messed up home pages, just a mess.

Last edited by wr3ck3d; 03-03-2003 at 02:02 PM.
 
Old 03-03-2003, 04:31 PM   #6
brucehohl
Member
 
Registered: Jan 2003
Location: Ohio
Distribution: SuSE
Posts: 33

Original Poster
Rep: Reputation: 15
wr3ck3d,

Please, what version of Netscape are you using? I see from your reply that that you are using java2 1.4.1_01. I also found it odd that SuSE 8.1 included Netscape 4.8 instead of a newer version. I uninstalled 4.8 and downloaded and installed Netscape 7.x so that my daughter could have the latest aim and use Yahoo games. I already had aim 1.5.xxx but that version shows all the text formating. She didn't like that.

On the link to the libjavaplugin_oji.so. I think I did do as you say. It's my step 3.

On all those other links - those are from SuSE. They put various links to java, java2, SunJava2, SunJava2-1.3, etc. I assume this was so java could be located under various names.

On the Netscape / Mozilla conflicts. I have not experienced your specific problems but if I have Netscape open and try to open Mozilla I get another session of Netscape. To me Netscape and Mozilla are nearly identical so I just use Netscape. More than anything it just bugs me that I can't get java2 to work with Netscape 7 or Konqueror 3 so I have no java enabled browser.
 
Old 03-03-2003, 06:58 PM   #7
wr3ck3d
Member
 
Registered: Dec 2002
Location: IL
Distribution: NetBSD, Slackware, Gentoo, Debian, FreeBSD
Posts: 444

Rep: Reputation: 31
Ok yes, i am using the newest netscape, 7.2 i think it is.....so do this, completely get rid of any netscape and java installs and start from scratch...go here for netscape http://www.netscape.com/computing/download/ and go here for java http://java.sun.com/j2se/1.4/download.html get the 'JRE Linux self extracting file', 4th one down. then do the netscape install, then make a 'java' directory in /usr/local then enter that directory and extract the java (you may have to chmod the java file)...then make the symlink and you should be good to go. I really dont use konqueror so dotn know about that, and the part where you say if you have a netscape and open a mozilla you get a netscape, that just another issue with sharing a folder.....i would recommend to delete the .mozilla directory also when you install to start over so there would be no conflicts, just so you know you can also ou mozill a for yahoo games, and there is also GAIM for chatting, i just make my brother use the netscape version so he cant direct connect with anyone.....post back if you have any troubles.

Last edited by wr3ck3d; 03-03-2003 at 07:05 PM.
 
Old 03-03-2003, 07:33 PM   #8
brucehohl
Member
 
Registered: Jan 2003
Location: Ohio
Distribution: SuSE
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks, I'll give it a try this weekend. I'll be tied up - by my wife if I do it before then. I never know when to stop, never did.
 
  


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
mozilla & netscape browsers are not able to display java applets ks_krishna76 Linux - Software 5 03-29-2004 11:28 PM
problems installing java, mozilla & netscape roose Red Hat 5 09-30-2003 01:30 AM
Java 1.4.1 and Netscape 7.1 MikeyCarter Linux - Software 0 08-08-2003 12:50 PM
java and netscape evian Linux - Software 5 03-26-2003 02:06 PM
Netscape and Java hotrodowner Linux - Software 2 01-18-2003 02:26 PM

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

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