Re: [newbie] Java - lost it
Anne Wilson wrote: On Wednesday 08 Jan 2003 4:02 am, Mark Weaver wrote: Anne Wilson wrote: On Sunday 05 Jan 2003 4:22 pm, [EMAIL PROTECTED] wrote: Success! OK, partial success. I removed all trace of java from my machine, ran the upgrade from the 9.0 discs and then installed the Blackdown java. Mozilla and Galeon now work OK, but for some reason Netscape 7.0 still refuses to recognize java. Oh well, if I need it, I have it! Thanks for everyone's help. I still can't work out what's going on here. I installed Netscape 7 and the java works perfectly. Mozilla and Galeon on the other hand list the plugins, but they don't work. Mozilla has lost certain setting that it had, and is now exactly like the Netscape setup. They must be sharing something somewhere. It doesn't make any sense at all Anne Anne, They are indeed. They're both using the .mozilla directory. If you want Netscape to appear as it's own app then create a new profile that you'll use when running Netscape complete with it's own mail settings, bookmarks and address book. That should straighten things out for you. Mark The whole thing is odd. You may remember that all of this started for me because I could not get the navigation tabs and links to work in Mozilla on some sites. After installing Netscape 7 I found that everything worked there, but there was no change to the problem in Mozilla. Last night I found that Mozilla now displays all the tabs and links, though not all of the are active. I suppose this means that I have changed a setting somewhere that is affecting it, but for the life in me I don't know what! Anne well...you could always experiment with a fresh install of Mozilla. Uninstall the mozilla packages making sure you delete the dir and all the files therein in /usr/lib/mozilla-1.1, then do a fresh install of mozilla which you'll also want to create the symlink from the JDK package netscape java plugin to the /usr/lib/mozilla-1.1/plugins dir when you're finished and see what that does. or...not. :) -- Mark --- Paid for by Penguins against modern appliances(R) Linux User Since 1996 Powered by Mandrake Linux 8.2 9.0 Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Wednesday 08 Jan 2003 4:02 am, Mark Weaver wrote: Anne Wilson wrote: On Sunday 05 Jan 2003 4:22 pm, [EMAIL PROTECTED] wrote: Success! OK, partial success. I removed all trace of java from my machine, ran the upgrade from the 9.0 discs and then installed the Blackdown java. Mozilla and Galeon now work OK, but for some reason Netscape 7.0 still refuses to recognize java. Oh well, if I need it, I have it! Thanks for everyone's help. I still can't work out what's going on here. I installed Netscape 7 and the java works perfectly. Mozilla and Galeon on the other hand list the plugins, but they don't work. Mozilla has lost certain setting that it had, and is now exactly like the Netscape setup. They must be sharing something somewhere. It doesn't make any sense at all Anne Anne, They are indeed. They're both using the .mozilla directory. If you want Netscape to appear as it's own app then create a new profile that you'll use when running Netscape complete with it's own mail settings, bookmarks and address book. That should straighten things out for you. Mark The whole thing is odd. You may remember that all of this started for me because I could not get the navigation tabs and links to work in Mozilla on some sites. After installing Netscape 7 I found that everything worked there, but there was no change to the problem in Mozilla. Last night I found that Mozilla now displays all the tabs and links, though not all of the are active. I suppose this means that I have changed a setting somewhere that is affecting it, but for the life in me I don't know what! Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Java - lost it
Success! OK, partial success. I removed all trace of java from my machine, ran the upgrade from the 9.0 discs and then installed the Blackdown java. Mozilla and Galeon now work OK, but for some reason Netscape 7.0 still refuses to recognize java. Oh well, if I need it, I have it! Thanks for everyone's help. Rich On Fri, 2003-01-03 at 13:07, [EMAIL PROTECTED] wrote: Originally I did an upgrade on both of my computers, the laptop is still working, but my main computer crashed about a week later, reason unknown. I was unable to recover from the crash,so did a fresh install. I think my step step, if I can find the time, will be to hunt down all vestiges of java and then do an upgrade followed by a fresh install of java. Rich On Fri, 2003-01-03 at 10:32, Myers, Dennis R NWO wrote: Did you upgrade or do a fresh install. One of the features with 9.0 was supposed to be it's ability to upgrade over an older OS but I don't think that it works consistantly and may be you are better off with a clean install? Dennis M. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Friday, January 03, 2003 8:56 AM To: Mandrake Subject: Re: [newbie] Java - lost it On Thu, 2003-01-02 at 16:57, erylon hines wrote: On Thursday 02 January 2003 12:44 pm, you wrote: My installation is also from the discs and uninstalling and re-installing didn't work for me. Mozilla and Galeon crash when encountering applets; Konqueror doesn't crash, but the applet freezes when it's 29% loaded; Netscape still refuses to even acknowledge that java is loaded. Where to next?? Rich There is a fairly high probablility that you have two java's installed, and a bad link to the *.so going (or, maybe no link at all). Note that this must be a link to the javaplugin_oji.so, copying the *.so to the /usr/lib/netscape/plugins directory will NOT work--same for mozilla. MozillaHelpAbout plug-ins shows the java that you have installed?? (should be the Sun version) #java -version returns what? (Kaffee should be o.k., but you can uninstall it using the package manager and re-make your path to the Sun version as a last resort--since this is only for web browsers that shouldn't be necessary). I'm trying to determine just what mods the rpm installer made to your directories and links. Everyone else reading this--I recommend that you use the version from Blackdown if you must have a JVM because it is a bzipped tarball and not a *.bin or rpm. If you use tarballs you can have more control of the install. Installing java ain't really hard--honest. 1. Download the bz2 tarball and put it in /usr/local then cd to /usr/local 2. Unpack it with the command tar -xvvIf name_of_tarball (note that is an eye not an ell -- a directory /usr/local/java_version_directory will be created) 3. ln -s /usr/local/java_version_directory/plugin/i386/mozilla/javaplugin_oji.so /usr/lib/mozilla plugins 4. Repeat for netscape (note to use the proper plugin directory--moz and netscape are different) I don't use Galeon--you are on your own for that If you must have a real JVM for some 3rd party program (not very likely, but possible) remove Kaffee from your system. 1. open /etc/profile with your favorite editor 2. Add the line: export PATH=$PATH:/usr/local/java_version_directory/bin (this sets the variable PATH to the previous PATH and adds the new line to it) 3. Add the line: export JAVA_HOME=/usr/local/java_version_directory 4. Reload /etc/profile If none of this works for you, I've exhausted my suggestions, but I assure you, it has worked for me. Well, I've exhausted all of my possibilities, none of the java installs will work, Sun or Blackdown or Netscape. I've also noticed that Konqueror file manager crashes sometimes when I click on a Mozilla directory. There's something very wrong with my installation. Strangely, another computer that I upgraded (this one was a fresh install) works perfectly! Thanks to everyone for all of their efforts. Rich -- [EMAIL PROTECTED] __ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com -- [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Sunday 05 Jan 2003 4:22 pm, [EMAIL PROTECTED] wrote: Success! OK, partial success. I removed all trace of java from my machine, ran the upgrade from the 9.0 discs and then installed the Blackdown java. Mozilla and Galeon now work OK, but for some reason Netscape 7.0 still refuses to recognize java. Oh well, if I need it, I have it! Thanks for everyone's help. I still can't work out what's going on here. I installed Netscape 7 and the java works perfectly. Mozilla and Galeon on the other hand list the plugins, but they don't work. Mozilla has lost certain setting that it had, and is now exactly like the Netscape setup. They must be sharing something somewhere. It doesn't make any sense at all Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Thursday 02 Jan 2003 9:57 pm, erylon hines wrote: On Thursday 02 January 2003 12:44 pm, you wrote: My installation is also from the discs and uninstalling and re-installing didn't work for me. Mozilla and Galeon crash when encountering applets; Konqueror doesn't crash, but the applet freezes when it's 29% loaded; Netscape still refuses to even acknowledge that java is loaded. Where to next?? Rich There is a fairly high probablility that you have two java's installed, and a bad link to the *.so going (or, maybe no link at all). Note that this must be a link to the javaplugin_oji.so, copying the *.so to the /usr/lib/netscape/plugins directory will NOT work--same for mozilla. MozillaHelpAbout plug-ins shows the java that you have installed?? (should be the Sun version) #java -version returns what? (Kaffee should be o.k., but you can uninstall it using the package manager and re-make your path to the Sun version as a last resort--since this is only for web browsers that shouldn't be necessary). I'm trying to determine just what mods the rpm installer made to your directories and links. For me, java -version returns nothing at all. I think that the rpm install has put things in the wrong places for me, and caused problems by it. I am going to uninstall altogether and start again, making sure that I know where everything is going this time. I do *not* want any of it installed on my old 8_2 partitions. Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Fri, 3 Jan 2003 10:26:20 + Anne Wilson [EMAIL PROTECTED] wrote: For me, java -version returns nothing at all. I think that the rpm install has put things in the wrong places for me, and caused problems by it. I am going to uninstall altogether and start again, making sure that I know where everything is going this time. I do *not* want any of it installed on my old 8_2 partitions. Anne, if you have not already done so launch Remove Software from mcc and select the alphabetical listing and go through all the rpms which begin with j. Depending upon where you got, whose it is, and which version your java rpm could be named jre, j2re, jdk, jsk, j2dk, j2sk and several other variation of the same. It has been mentioned before but if you have kaffee installed installed remove it. It will prevent the proper operation of the java rpms. Charles I don't care where I sit as long as I get fed. -- Calvin Trillin -- Mandrake Linux 9.1 Kernel- 2.4.20-2mdk -- Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Thu, 2003-01-02 at 16:57, erylon hines wrote: On Thursday 02 January 2003 12:44 pm, you wrote: My installation is also from the discs and uninstalling and re-installing didn't work for me. Mozilla and Galeon crash when encountering applets; Konqueror doesn't crash, but the applet freezes when it's 29% loaded; Netscape still refuses to even acknowledge that java is loaded. Where to next?? Rich There is a fairly high probablility that you have two java's installed, and a bad link to the *.so going (or, maybe no link at all). Note that this must be a link to the javaplugin_oji.so, copying the *.so to the /usr/lib/netscape/plugins directory will NOT work--same for mozilla. MozillaHelpAbout plug-ins shows the java that you have installed?? (should be the Sun version) #java -version returns what? (Kaffee should be o.k., but you can uninstall it using the package manager and re-make your path to the Sun version as a last resort--since this is only for web browsers that shouldn't be necessary). I'm trying to determine just what mods the rpm installer made to your directories and links. Everyone else reading this--I recommend that you use the version from Blackdown if you must have a JVM because it is a bzipped tarball and not a *.bin or rpm. If you use tarballs you can have more control of the install. Installing java ain't really hard--honest. 1. Download the bz2 tarball and put it in /usr/local then cd to /usr/local 2. Unpack it with the command tar -xvvIf name_of_tarball (note that is an eye not an ell -- a directory /usr/local/java_version_directory will be created) 3. ln -s /usr/local/java_version_directory/plugin/i386/mozilla/javaplugin_oji.so /usr/lib/mozilla plugins 4. Repeat for netscape (note to use the proper plugin directory--moz and netscape are different) I don't use Galeon--you are on your own for that If you must have a real JVM for some 3rd party program (not very likely, but possible) remove Kaffee from your system. 1. open /etc/profile with your favorite editor 2. Add the line: export PATH=$PATH:/usr/local/java_version_directory/bin (this sets the variable PATH to the previous PATH and adds the new line to it) 3. Add the line: export JAVA_HOME=/usr/local/java_version_directory 4. Reload /etc/profile If none of this works for you, I've exhausted my suggestions, but I assure you, it has worked for me. Well, I've exhausted all of my possibilities, none of the java installs will work, Sun or Blackdown or Netscape. I've also noticed that Konqueror file manager crashes sometimes when I click on a Mozilla directory. There's something very wrong with my installation. Strangely, another computer that I upgraded (this one was a fresh install) works perfectly! Thanks to everyone for all of their efforts. Rich -- [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
RE: [newbie] Java - lost it
Title: RE: [newbie] Java - lost it Did you upgrade or do a fresh install. One of the features with 9.0 was supposed to be it's ability to upgrade over an older OS but I don't think that it works consistantly and may be you are better off with a clean install? Dennis M. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Friday, January 03, 2003 8:56 AM To: Mandrake Subject: Re: [newbie] Java - lost it On Thu, 2003-01-02 at 16:57, erylon hines wrote: On Thursday 02 January 2003 12:44 pm, you wrote: My installation is also from the discs and uninstalling and re-installing didn't work for me. Mozilla and Galeon crash when encountering applets; Konqueror doesn't crash, but the applet freezes when it's 29% loaded; Netscape still refuses to even acknowledge that java is loaded. Where to next?? Rich There is a fairly high probablility that you have two java's installed, and a bad link to the *.so going (or, maybe no link at all). Note that this must be a link to the javaplugin_oji.so, copying the *.so to the /usr/lib/netscape/plugins directory will NOT work--same for mozilla. MozillaHelpAbout plug-ins shows the java that you have installed?? (should be the Sun version) #java -version returns what? (Kaffee should be o.k., but you can uninstall it using the package manager and re-make your path to the Sun version as a last resort--since this is only for web browsers that shouldn't be necessary). I'm trying to determine just what mods the rpm installer made to your directories and links. Everyone else reading this--I recommend that you use the version from Blackdown if you must have a JVM because it is a bzipped tarball and not a *.bin or rpm. If you use tarballs you can have more control of the install. Installing java ain't really hard--honest. 1. Download the bz2 tarball and put it in /usr/local then cd to /usr/local 2. Unpack it with the command tar -xvvIf name_of_tarball (note that is an eye not an ell -- a directory /usr/local/java_version_directory will be created) 3. ln -s /usr/local/java_version_directory/plugin/i386/mozilla/javaplugin_oji.so /usr/lib/mozilla plugins 4. Repeat for netscape (note to use the proper plugin directory--moz and netscape are different) I don't use Galeon--you are on your own for that If you must have a real JVM for some 3rd party program (not very likely, but possible) remove Kaffee from your system. 1. open /etc/profile with your favorite editor 2. Add the line: export PATH=$PATH:/usr/local/java_version_directory/bin (this sets the variable PATH to the previous PATH and adds the new line to it) 3. Add the line: export JAVA_HOME=/usr/local/java_version_directory 4. Reload /etc/profile If none of this works for you, I've exhausted my suggestions, but I assure you, it has worked for me. Well, I've exhausted all of my possibilities, none of the java installs will work, Sun or Blackdown or Netscape. I've also noticed that Konqueror file manager crashes sometimes when I click on a Mozilla directory. There's something very wrong with my installation. Strangely, another computer that I upgraded (this one was a fresh install) works perfectly! Thanks to everyone for all of their efforts. Rich -- [EMAIL PROTECTED]
RE: [newbie] Java - lost it
Originally I did an upgrade on both of my computers, the laptop is still working, but my main computer crashed about a week later, reason unknown. I was unable to recover from the crash,so did a fresh install. I think my step step, if I can find the time, will be to hunt down all vestiges of java and then do an upgrade followed by a fresh install of java. Rich On Fri, 2003-01-03 at 10:32, Myers, Dennis R NWO wrote: Did you upgrade or do a fresh install. One of the features with 9.0 was supposed to be it's ability to upgrade over an older OS but I don't think that it works consistantly and may be you are better off with a clean install? Dennis M. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Friday, January 03, 2003 8:56 AM To: Mandrake Subject: Re: [newbie] Java - lost it On Thu, 2003-01-02 at 16:57, erylon hines wrote: On Thursday 02 January 2003 12:44 pm, you wrote: My installation is also from the discs and uninstalling and re-installing didn't work for me. Mozilla and Galeon crash when encountering applets; Konqueror doesn't crash, but the applet freezes when it's 29% loaded; Netscape still refuses to even acknowledge that java is loaded. Where to next?? Rich There is a fairly high probablility that you have two java's installed, and a bad link to the *.so going (or, maybe no link at all). Note that this must be a link to the javaplugin_oji.so, copying the *.so to the /usr/lib/netscape/plugins directory will NOT work--same for mozilla. MozillaHelpAbout plug-ins shows the java that you have installed?? (should be the Sun version) #java -version returns what? (Kaffee should be o.k., but you can uninstall it using the package manager and re-make your path to the Sun version as a last resort--since this is only for web browsers that shouldn't be necessary). I'm trying to determine just what mods the rpm installer made to your directories and links. Everyone else reading this--I recommend that you use the version from Blackdown if you must have a JVM because it is a bzipped tarball and not a *.bin or rpm. If you use tarballs you can have more control of the install. Installing java ain't really hard--honest. 1. Download the bz2 tarball and put it in /usr/local then cd to /usr/local 2. Unpack it with the command tar -xvvIf name_of_tarball (note that is an eye not an ell -- a directory /usr/local/java_version_directory will be created) 3. ln -s /usr/local/java_version_directory/plugin/i386/mozilla/javaplugin_oji.so /usr/lib/mozilla plugins 4. Repeat for netscape (note to use the proper plugin directory--moz and netscape are different) I don't use Galeon--you are on your own for that If you must have a real JVM for some 3rd party program (not very likely, but possible) remove Kaffee from your system. 1. open /etc/profile with your favorite editor 2. Add the line: export PATH=$PATH:/usr/local/java_version_directory/bin (this sets the variable PATH to the previous PATH and adds the new line to it) 3. Add the line: export JAVA_HOME=/usr/local/java_version_directory 4. Reload /etc/profile If none of this works for you, I've exhausted my suggestions, but I assure you, it has worked for me. Well, I've exhausted all of my possibilities, none of the java installs will work, Sun or Blackdown or Netscape. I've also noticed that Konqueror file manager crashes sometimes when I click on a Mozilla directory. There's something very wrong with my installation. Strangely, another computer that I upgraded (this one was a fresh install) works perfectly! Thanks to everyone for all of their efforts. Rich -- [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Thursday 02 Jan 2003 2:47 pm, Tom Brinkman wrote: On Wednesday January 1 2003 01:25 pm, Anne Wilson wrote: Looking again at what you wrote originally, I get the same output as you for the command ll /usr/bin/java Including rwx permissions for users (lrwxrwxrwx) ? . Yes - it's all OK ^^^ However, it looks to me as though it has not been added to the path, since what I get from the next command is: [root@anne-linux anne]# echo $PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/lo cal/sbin [root@anne-linux anne]# Mea culpa. When I first replied I had Mandrake's j2re 1.4.0 installed, and that rpm does add jre to your path. Since then I've upgraded to Mandrake's j2re 1.4.1. It _doesn't_ add jre to the path. (MOF, the upgrade removed it from mine). and this removed it from mine - and the java.sh from /etc/profile.d It shouldn't matter tho since it does create the link '/usr/bin/java - /etc/alternatives/java*' and '/usr/bin' should be in your path. BTW, run 'echo $PATH' as user, since you'll need java as user. [anne@anne-linux anne]$ echo $PATH /usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games:/home/anne/bin [anne@anne-linux anne]$ Why are there two // in /usr//bin? Does /usr/bin include all subdirectories? I suspect the problem is with your Mozilla install. Tho I have no idea what is maybe wrong (and I'm now usin the newer 9.1 cooker version 1.3-0.alpha.1mdk). It's the standard install from 9.0's discs. I don't feel confident at using cooker versions yet. I could uninstall and re-install I suppose. I think the next thing to try is to check for suitable links in the Mozilla directory. Any other ideas gratefully welcomed. Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Thursday January 2 2003 11:25 am, Anne Wilson wrote: I suspect the problem is with your Mozilla install. Tho I have no idea what is maybe wrong (and I'm now usin the newer 9.1 cooker version 1.3-0.alpha.1mdk). It's the standard install from 9.0's discs. I don't feel confident at using cooker versions yet. ... and you can't either, except on a full cooker install of 9.1. I only mentioned that to imply I don't have 9.0's older Mozilla anymore. Anne, I'm out'a ideas with your Mozilla install. But as I ranted about in a previous reply, they're are no guarantees as soon as you taint a system with closed source stuff, ie, Sun's java. It may or may not work. Lobby Sun to release OSS java. -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Thursday 02 Jan 2003 6:09 pm, Tom Brinkman wrote: On Thursday January 2 2003 11:25 am, Anne Wilson wrote: I suspect the problem is with your Mozilla install. Tho I have no idea what is maybe wrong (and I'm now usin the newer 9.1 cooker version 1.3-0.alpha.1mdk). It's the standard install from 9.0's discs. I don't feel confident at using cooker versions yet. ... and you can't either, except on a full cooker install of 9.1. I only mentioned that to imply I don't have 9.0's older Mozilla anymore. Anne, I'm out'a ideas with your Mozilla install. But as I ranted about in a previous reply, they're are no guarantees as soon as you taint a system with closed source stuff, ie, Sun's java. It may or may not work. Lobby Sun to release OSS java. OK - thanks for all your efforts. I am nearer than I was, but we'll see what happens. Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Thu, 2003-01-02 at 12:25, Anne Wilson wrote: I suspect the problem is with your Mozilla install. Tho I have no idea what is maybe wrong (and I'm now usin the newer 9.1 cooker version 1.3-0.alpha.1mdk). It's the standard install from 9.0's discs. I don't feel confident at using cooker versions yet. I could uninstall and re-install I suppose. I think the next thing to try is to check for suitable links in the Mozilla directory. My installation is also from the discs and uninstalling and re-installing didn't work for me. Mozilla and Galeon crash when encountering applets; Konqueror doesn't crash, but the applet freezes when it's 29% loaded; Netscape still refuses to even acknowledge that java is loaded. Where to next?? Rich -- [EMAIL PROTECTED] Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Thursday 02 January 2003 12:44 pm, you wrote: My installation is also from the discs and uninstalling and re-installing didn't work for me. Mozilla and Galeon crash when encountering applets; Konqueror doesn't crash, but the applet freezes when it's 29% loaded; Netscape still refuses to even acknowledge that java is loaded. Where to next?? Rich There is a fairly high probablility that you have two java's installed, and a bad link to the *.so going (or, maybe no link at all). Note that this must be a link to the javaplugin_oji.so, copying the *.so to the /usr/lib/netscape/plugins directory will NOT work--same for mozilla. MozillaHelpAbout plug-ins shows the java that you have installed?? (should be the Sun version) #java -version returns what? (Kaffee should be o.k., but you can uninstall it using the package manager and re-make your path to the Sun version as a last resort--since this is only for web browsers that shouldn't be necessary). I'm trying to determine just what mods the rpm installer made to your directories and links. Everyone else reading this--I recommend that you use the version from Blackdown if you must have a JVM because it is a bzipped tarball and not a *.bin or rpm. If you use tarballs you can have more control of the install. Installing java ain't really hard--honest. 1. Download the bz2 tarball and put it in /usr/local then cd to /usr/local 2. Unpack it with the command tar -xvvIf name_of_tarball (note that is an eye not an ell -- a directory /usr/local/java_version_directory will be created) 3. ln -s /usr/local/java_version_directory/plugin/i386/mozilla/javaplugin_oji.so /usr/lib/mozilla plugins 4. Repeat for netscape (note to use the proper plugin directory--moz and netscape are different) I don't use Galeon--you are on your own for that If you must have a real JVM for some 3rd party program (not very likely, but possible) remove Kaffee from your system. 1. open /etc/profile with your favorite editor 2. Add the line: export PATH=$PATH:/usr/local/java_version_directory/bin (this sets the variable PATH to the previous PATH and adds the new line to it) 3. Add the line: export JAVA_HOME=/usr/local/java_version_directory 4. Reload /etc/profile If none of this works for you, I've exhausted my suggestions, but I assure you, it has worked for me. e. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Wednesday 01 Jan 2003 1:15 pm, Tom Brinkman wrote: On Wednesday January 1 2003 06:36 am, Anne Wilson wrote: 'rpm -Uvh j2re-1.4.1 01-5mdk' rpm makes java available globally to all apps (browsers too). You do nothin, and can't screw it up ;) It's available from the Club, or maybe from /unsupported mirrors. Tom - do you do this as root? Anne Anne, I suppose you're refering to 'rpm-UvhYes, do it as root. Just installing the j2re rpm takes care of making the needed links for you, eg tom$ ll /usr/bin/java lrwxrwxrwx1 root root 22 Dec 31 19:57 /usr/bin/java - /etc/alternatives/java* . adds jre to your path tom$ echo $PATH /usr//bin:/bin:/usr/bin::/usr/local/bin:/usr/X11R6/bin:/usr/games: /usr/lib/jre-1.4.0_01/bin:/home/tom/bin ... and takes care of anything else while it's at it ;) I don't believe it's even neccesary to uninstall kaffe first, but I always do. Java was running correctly under Galeon but not under Mozilla. I had hoped that this would fix it. Instead, I now show no plugins for Java or Javascript under either. The only good thing is that it has confirmed that my problems in Mozilla were caused by this, because now Galeon doesn't work either. I presume there's a link problem. What should I do now? Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Wednesday January 1 2003 07:40 am, Anne Wilson wrote: Java was running correctly under Galeon but not under Mozilla. I had hoped that this would fix it. Instead, I now show no plugins for Java or Javascript under either. The only good thing is that it has confirmed that my problems in Mozilla were caused by this, because now Galeon doesn't work either. I presume there's a link problem. What should I do now? Anne Dunno (?), not quite sure I understand your problems Anne. FWIW, the 'Club' Mandrake Sun java rpm has been available for quite some time. Updated versions available as soon as Sun releases 'em. I've only used them with Mozilla and Konqueror, mostly 99% Konqueror. I only use java to avoid, like with Flash, error or crashes when I go to some web pages. Otherwise, IMO, both would be banned from the Net (as would M$ users and all virus proliferating proprietary closed source crap). But I seldom get my way ; Still think it's a better way for 'peace on earth', open source that is. At least it'd be auditable and better free from 'welcome to crackers' and soft/hard conflicts as it is now. As such it's possible that you might (ie, auditable) have some hardware problems with java under Linux. Closed source can't possibly be supported, hardware or software. I use Mandrake's Sun java version since I suspect they've done all they can to make sure it doesn't cause conflicts or security holes... even without the source. Plus it's a user error free install. Since you now 'show no plugins for Java or Javascript under either', I believe I'd undo/uninstall your efforts to date, then just install the Mandrake/Sun java rpm. It really does do everything for you, which avoids user bumps in the road. 'rpm -Uvh' should reveal any needed deps, but you might also do it with 'urpmi j2re-1.4.1_01-5mdk' -- Tom Brinkman Corpus Christi, Texas Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Java - lost it
On Wednesday 01 Jan 2003 7:17 pm, Tom Brinkman wrote: On Wednesday January 1 2003 07:40 am, Anne Wilson wrote: Java was running correctly under Galeon but not under Mozilla. I had hoped that this would fix it. Instead, I now show no plugins for Java or Javascript under either. The only good thing is that it has confirmed that my problems in Mozilla were caused by this, because now Galeon doesn't work either. I presume there's a link problem. What should I do now? Anne Dunno (?), not quite sure I understand your problems Anne. FWIW, the 'Club' Mandrake Sun java rpm has been available for quite some time. Updated versions available as soon as Sun releases 'em. I've only used them with Mozilla and Konqueror, mostly 99% Konqueror. I only use java to avoid, like with Flash, error or crashes when I go to some web pages. Some sites - like my on-line banking - won't operate without it, so there's no choice really. Konqeror continues to function correctly. Even though I have lost the java plugins under Mozilla and Galeon. Looking again at what you wrote originally, I get the same output as you for the command ll /usr/bin/java However, it looks to me as though it has not been added to the path, since what I get from the next command is: [root@anne-linux anne]# echo $PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin [root@anne-linux anne]# When I installed jre before, according to my notes I had to put a shell script into etc/profile.d, which defined the Java_Home variable, export it, add $Java_Home/bin to the path, and export that. Do I need to do anything like that? I'm convinced that Java must be working OK, or Konq couldn't be using it (unless that is still finding the old install), so my guess is that the problem is either links or paths. Can you or anyone help, please? Anne Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com