As jdogpc says the error goes, if the jre1.5..... is used. The hang does not happen even if you are logged in as root. Moreover using jre 1.5... is essential if you are going to use LimeWire.
The steps for make jre 1.5... your default java is listed below:
a)Download latest jre rpm from java site:
http://java.sun.com/j2se/index.jsp
b)change mode: chmod a+x jre-1_5_0_<version>-linux-i586-rpm.bin
c)run the self extracting file: ./jre-1_5_0_<version>-linux-i586-rpm.bin
Fedora uses alternatives to manage multiple versions of java.
d)Add it as an alternative:
alternatives --install /usr/bin/java java /usr/java/jre1.5.0_04/bin/java 1421
here alternatives –install is the command and its option
/usr/bin/java is the link
java is the name
/usr/java/jre1.5.0_04/bin/java is the directory of updated jre
1421 is the priority given, this has to be higher than existing jre (it is 1420 in the present installation)
Then make jre1.5 as the default.
e)alternative --config java
This will display a numbered list of the java alternatives and let you change the default.
Confirm the change.
f)alternative --display java
Current `best' version is /usr/java/jre1.5.0_04/bin/java is displayed
g)command java -version will show jre1.5
f)open a new file /etc/profile.d/java.sh
gedit /etc/profile.d/java.s
type the following lines and enter at the end
export J2RE_HOME=/usr/java/j2re1.4.2_06
export PATH=$J2RE_HOME/bin:$PATH
save and exit
g)enter the command: source /etc/profile.d/java.sh
h)now command: which java will show the current version
Open Eclipse and it will not hang