Well, I ran the /usr/sbin/setDefaultJava and /usr/bin/setJava commands and set them to SunJava2 (the 1.3.1 version). Then I went into rc.config file and changed the java setting from "green" to "native" (why not let it multithread if it can). The ran SuSEconfig and voila! Now the LimeWire program is working and most likely have little problems with other Java ware. Thanks much, Curtis. On Wednesday 06 February 2002 10:29 pm, James Bliss wrote:
I believe that this will do it for you:
ln -s /usr/java /usr/lib/java
Otherwise you will need to create sim links for everything.
I would advise using the jdk1.3.1 since it is the latest and greatest from Sun.
There are also two scripts you might want to look into: setJava (in /usr/bin) and setDefaultJava (in /usr/sbin)
You will probably have to edit them if you want to use them with your install of java, but establishing the sym link should do it for you.
Jim
02/05/02 09:05:22 PM, Curtis Rey <crrey@charter.net> wrote:
Ok, ran the command and this is what it gave me: $PATH bash: /usr/local/bin:/usr/bin:/usr/X11R6/bin:/bin:/usr/lib/java/bin:/usr/games/b in:/usr/gam
es:
/opt/gnome/bin:/opt/kde2/bin:/opt/kde/bin:/usr/openwin/bin:.: No such file or directory
I take it the /usr/lib/java/bin is the symlink to the java/jre dir/files? Am I to make a new sym link to the right dirs/libs?
Accord to the directories setup in my sys I have /usr/java which contains the 1.3.1 java (which include a /bin /lib /man /plugin dirs and a ControlPanal.html, Welcome.html, and cpright/readme/license files). Then I have /usr/lib/IBMJava3, ~/JSDK2.0, ~/SunJava1, ~/SunJava2, ***~/java*** (this dir points to /usr/lib/jdk1.1.8 [aha!!!]), ~/jdk1.1.8, ~/jdk1.3, and ~/jdk1.3.1...!
So it seems that I have 5 different version/libs of Java programs/class. I would really like to be able to take advantages that these may afford me (e.g. SunJava1/2 vs jdk1.3/1.3.1). And the question is A) how to set the proper runtime environment, and B) which java sets to use where/with what?
TIA, Curtis
On Wednesday 06 February 2002 08:16 pm, James Bliss wrote:
For the java runtime, you need to put the proper environment in your path, or make certain that the symbolic links are set properly. If you check your path using $PATH you should be able to see why java is not showing the correct version.
Jim
02/05/02 07:44:08 PM, Curtis Rey <crrey@charter.net> wrote:
Ya, the weird part is if I do an lsmod command it will ahow all the mods loaded properly.
There are several things lately that I have run into of a similar nature. Another one being a Have install the jre-1.3.1 rpms several times and there are there. I can point konqi at the new ones and it loads/run much faster and is more stable. But if I do a "java -v" it tells me that it -v 1.1.8.
There are a few others that I may going into later (like why after repeated times installing susehilf,etc.. not all the docs/info/man pages are there and the susehilf dir/libs are empty).
Runtime environments seems to always default to original packs regardless of any installs done. I always try to use yast - as per Ben's suggestion, and this has help (usually). But I often run into problems with new wares/packages. I have rebuilt the rpm data base, and run everything for SuSEconfig, depmod -a, etc that I can but to no avail. This is a recurrent problem I have. The only way I have been able to successfully do any sort of kernel rebuild and not have a completely empty mod.conf is to either rpm it (with mk_initrd and lilo) or to cloneconfig it.
Anyway. this does get very frustrating, especially when I use readme's and info, etc.. etc.. and it doesn't work. I often chalk it up to inexperience and being a (relative) newbie. But I have been wondering if it isn't so much what I am or am not doing correctly of late.
Cheers, Curtis.
On Wed, 2002-02-06 at 19:19, Doug McGarrett wrote:
No, this is actually MOST important. This may be a bug. Someone from SuSE should look into this. --doug
At 17:22 02/05/2002 -0600, Curtis Rey wrote:
Ok, I'm not sure how this happened but I think that when I tried to install the SBLive drivers form the creative opensource site may modules.conf went bye bye.
/snip/
So, my question is this. A) how do a generate a new and "complete" modules.conf file?
And less important - how does this happen??
TIA, Curtis
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq and the archives at http://lists.suse.com