Jump to content

FC4 - installing JRE & limewire


Recommended Posts

I installed limewire as per Fedora Guide's instructions:

 

#

wget http://www.evolutioncolt.com/fedoraguide/files/LimeWireOther.zip
sudo unzip -u LimeWireOther.zip -d /opt/
sudo chown -R root:root /opt/LimeWire/
sudo gedit /usr/bin/runLime.sh

# Paste the contents below into the text file:

cd /opt/LimeWire/
./runLime.sh

# Save and close the file

sudo chmod +x /usr/bin/runLime.sh
sudo gedit /usr/share/applications/LimeWire.desktop

# Paste the contents below into the text file:

[Desktop Entry]
Name=LimeWire
Comment=LimeWire
Exec=runLime.sh
Icon=/opt/LimeWire/LimeWire.ico
Terminal=false
Type=Application
Categories=Application;Network;

# Save and close the file
# Applications --> Internet --> LimeWire

 

Afterwards, I do in fact have a limewire application listed under Applications>Internet> but when I click it nothing happens. I know limewire uses java, but doesn't java come with FC4 (I did custom select Java Development during install...).

Edited by null
Link to comment
Share on other sites

thanks. guess I thought since I selected Java Development when I custom selected packages during install, I would have a JRE, but I guess all it installs is a java compliler.

 

So anyway, I went to the same place (Fedora Guide) and followed their instructions to install the JRE:

 

Q: How do I install Java (Sun JRE 1.5.0)?
su -
cd /opt
wget http://www.evolutioncolt.com/fedoraguide/files/jre-1_5_0_04-linux-i586.bin
sh jre-1_5_0_04-linux-i586.bin
rm jre-1_5_0_04-linux-i586.bin
ln -s /opt/jre1.5.0_04/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so
gedit /etc/profile.d/java.sh

# Copy and paste this into the java.sh file:

export J2RE_HOME=/opt/jre1.5.0_04
export PATH=$J2RE_HOME/bin:$PATH

# Save and close the file

source /etc/profile.d/java.sh
alternatives --install /usr/bin/java java /opt/jre1.5.0_04/bin/java 2
alternatives --config java

# Press 2
# Press Enter
You should now have a working Java 1.5.0 installation.

 

I've done everything up the the last part where it says source /etc... and alternatives. I'm not sure what to do there. So the last thing I correctly did was create the java.sh file and enter the 2 export statements.

 

thanks

Link to comment
Share on other sites

You would do exactly what it says

 

source /etc/profile.d/java.sh
alternatives --install /usr/bin/java java /opt/jre1.5.0_04/bin/java 2
alternatives --config java

 

Type those in as root like they are commands.

 

# source /etc/profile.d/java.sh

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...