LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-16-2004, 04:43 PM   #1
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Rep: Reputation: 30
Question Limewire java help


Ok, so i've tried to install limewire before, had the same problem, then just decided to use gtk-gnutella. Ive had some luck with it, but i just want to experiment with limewire out of curiousity. Can someone help with this?:

[root@localhost drof]# sh ./LimeWireLinux.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.


I 've installed sun sdk java deal, i know it works because it works with mozilla. help?
 
Old 01-16-2004, 05:11 PM   #2
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
You have to include /usr/java/j2reversionnumber/bin to your path in .bash_profile

Edit .bash_profile as root.

After that create symbolic links to the java executables in /usr/bin

# cd /usr/bin
# ln -s /usr/java/j2reversionnumber/bin/* /usr/bin

It should work now, to check

# su to normal user
$ which java

You should get something like

[user@localhost user]$ which java
/usr/bin/java
 
Old 01-16-2004, 05:35 PM   #3
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Original Poster
Rep: Reputation: 30
ok sounds good, but how do i go about editing my .bash profile?
 
Old 01-16-2004, 06:54 PM   #4
xquizit
Member
 
Registered: Mar 2003
Location: Canada
Distribution: Ubuntu Dapper
Posts: 68

Rep: Reputation: 15
you don't have to be root to edit a .bash_profile. To edit it just open the terminal and type in "<text editor> .bash_profile" it sould look something like this

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin:/usr/java/j2re1.4.2_03/bin

export PATH
unset USERNAME
 
Old 02-01-2004, 03:58 PM   #5
Ogledbyoldmen
Member
 
Registered: Sep 2003
Location: florida
Distribution: Redhat 9
Posts: 154

Original Poster
Rep: Reputation: 30
[drof@localhost drof]$ <text editor> .bash_profile
bash: text: No such file or directory
 
Old 02-02-2004, 03:33 AM   #6
Ice9
Member
 
Registered: Jun 2002
Location: Belgium
Distribution: Sidux
Posts: 313

Rep: Reputation: 30
This is what I meant when I said "Edit .bash_profile"
I use kedit, so replace <text editor> with whatever text editor you wanna use.
I would type
$ kedit .bash_profile
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LimeWire and Java loke137 Linux - Software 26 03-09-2007 06:42 AM
Limewire/Java Kaao Linux - Software 3 08-19-2005 05:01 AM
Java and Limewire astronerd Linux - Software 10 03-24-2005 05:41 PM
Java and Linux (LimeWire) Doomhammer Linux - Software 11 12-12-2003 10:21 PM
Help with LimeWire/Java please. DarkGhost Linux - Software 21 06-04-2002 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration