Author Topic: Limewire/Java problem...  (Read 650 times)

TheGreatPoo

  • Member
  • **
  • Posts: 179
  • Kudos: 0
Limewire/Java problem...
« on: 24 December 2002, 02:33 »
When trying to install Limewire for Gnutella (a Java Based App), I get this error in the console:

[shane@bauman02 shane]$ su
[root@bauman02 shane]# chmod a+x /home/shane/LimeWireLinux.bin
[root@bauman02 shane]# /home/shane/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 proior to running this program.
[root@bauman02 shane]#

I just reinstalled J2SE from Sun's website and it still doesn't work. It says I need a Java "Virtual Machine".  Where can I find one of those and why didn't that install with the J2SE RPM from Sun's website?

Thanx in advance for any help!!!  :D
When Bill Gates throws you a curve ball, hit him in his jewels with the bat!

CaptainCool

  • Member
  • **
  • Posts: 129
  • Kudos: 0
Limewire/Java problem...
« Reply #1 on: 24 December 2002, 03:42 »
I have the same exact problem and even posted on here asking about it but never figured it out yet.

flap

  • Member
  • **
  • Posts: 1,268
  • Kudos: 137
Limewire/Java problem...
« Reply #2 on: 24 December 2002, 03:51 »
You have the java vm, but the system can't find it as it's not in your path. You need to add the location of the java executable to your path (e.g. /usr/java/blah/bin)
"While envisaging the destruction of imperialism, it is necessary to identify its head, which is none other than the United States of America." - Ernesto Che Guevara

http://counterpunch.org
http://globalresearch.ca


TheGreatPoo

  • Member
  • **
  • Posts: 179
  • Kudos: 0
Limewire/Java problem...
« Reply #3 on: 24 December 2002, 18:45 »
Please excuse my noobness, but where in the command do I put that path to the VM?  For example, should it look like this:

Code: [Select]

(This is assuming that the VM is in /usr/bin/java/)

Thank you for the help so far.  I hope I can figure this out.
When Bill Gates throws you a curve ball, hit him in his jewels with the bat!

TheGreatPoo

  • Member
  • **
  • Posts: 179
  • Kudos: 0
Limewire/Java problem...
« Reply #4 on: 24 December 2002, 19:38 »
quote:
Oh its easy done, example on my system
PATH=/usr/j2re1.4.1_01/bin:$PATH
That will update the path variable.


That did it!!!  It took me a little while to find the VM (as I am still new to Linux and am still trying to learn what different folders mean and where stuff goes when it installs) but I entered the command just like you said, then launched the installer!  YAY!!!  :D

 
quote:
Also add that to your your .bashlogin or whatever.


I have no idea how to do that.

How can I add a Java shell script to the K-menu?  I know I can add apps but I have never been able to add LimeWire to the K-menu.  Any ideas?

Thank you void X11 for your help and thanx to others who replied!  
When Bill Gates throws you a curve ball, hit him in his jewels with the bat!

beltorak0

  • Member
  • **
  • Posts: 223
  • Kudos: 0
    • http://www.angelfire.com/realm/beltorak
Limewire/Java problem...
« Reply #5 on: 24 December 2002, 22:21 »
Assuming you use bash as a login prompt; do
Code: [Select]

If you start up with the GUI, do the same in the terminal of your choice (konsole i presume, since you imply that you are using KDE), or open ".bashrc" in your favorite text editor and manually add the required lines.  I think you will have to log out and back in for it to take effect globally tho; If you dont use the GUI to login, you can just source it the first time: ". .bashrc".  It will work every time you log in afterwards.

You can also add "export PS1='\u@\h:\w$ '" to ".bashrc" to set the command prompt to "user@host:<dir>$ "; and add ". .bashrc" to ".profile"; this will get terminal emulators and consoles to apply the settings when you open them up in KDE.

other files of interest: ".bash_logout"; "/etc/profile" (which is global for every user login).

-t.
from Attrition.Org
 
quote:
Like many times before, Microsoft is re-inventing the wheel and opting for something other than round.

-t.


TheGreatPoo

  • Member
  • **
  • Posts: 179
  • Kudos: 0
Limewire/Java problem...
« Reply #6 on: 24 December 2002, 22:44 »
Sweet ass dude!  Thanx!

BTW, you wouldn't happen to know how to put a Java based app (LimeWire) in the K-menu would ya?
When Bill Gates throws you a curve ball, hit him in his jewels with the bat!