Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 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.
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 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
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.
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
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
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.