![]() |
Damn Java error ! Hi, I have JRE 1.3.1_04, this is the error: [gt@Nancy LimeWire]$ ./runLime.sh /usr/java/jre1.3.1_04/bin/i386/native_threads/java: relocation error: /usr/java/jre1.3.1_04/lib/i386/libpreemptive_close.so: symbol __libc_sendto, version GLIBC_2.0 not defined in file libc.so.6 with link time reference Please help ! Colossus |
Fix if using RPM's. 1. Uninstall the program JRE 1.3.1_04. This can easily be accomplished if you use RPM's by opening the KPackage manager. Once in KPackage select File > Find Package. Type in "jre" (omit the quotes). This should find the RPM. With it highlighted select uninstall. Please note you must be superuser to do this. 2. Download the latest j2re by following this link to the Sun website. http://java.sun.com/j2se/1.4/download.html 3. Save this file to disk and remember the location! 4. Execute the bin file. 5. This should extract the RPM. I will assume you have already installed LimeWire since you are executing the runLime.sh and are getting the error (I got this same error as well). 6. Edit the script to look like the following. One note though, the line cd /usr/local/LimeWire is the directory where I installed LimeWire. Replace this path with the directory you use. This little trick helps me run it from a desktop shortcut. #!/bin/sh # # Runs LimeWire. This script must be executed in your LimeWire # install directory. # # We must set the J2SE_PREEMPTCLOSE environment variable to 1 to # work around some limitations in the JDK1.3. For more information # see http://java.sun.com/j2se/1.3/relnotes.html#vm # cd /usr/local/LimeWire CLASSPATH=".:collections.jar:xerces.jar:jl011.jar: MessagesBundles.jar" export CLASSPATH J2SE_PREEMPTCLOSE=1 export J2SE_PREEMPTCLOSE /usr/java/j2re1.4.0_02/bin/java -jar RunLime.jar Regards, Bob Suwanee, GA U.S.A |
How would you un-install Java if you didn't use RPM's and don't have KPackage? Thanks |
Most Java installations are entirely contained in 1 directory subtree, typically /usr/java/(version). Deleting that subtree effectively wipes out this Java version. Please be careful with rm ;-) You can, however, without too much trouble keep the older version installed as long as you don't forget to edit runLime.sh to point to the correct ...../bin/java. Roel |
All times are GMT -7. The time now is 01:32 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.