Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Technical Support > General Linux Support
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Linux Support For questions regarding use of LimeWire or WireShare or related questions on the Linux operating system. This includes installation questions and answers. (Check the Stickies marked in Red at top of this section.)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old December 23rd, 2002
Apprentice
 
Join Date: April 4th, 2002
Posts: 7
TheGreatPoo is flying high
Angry Java problem or am I just nuts??

When trying to install Limewire, 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 J2RE 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 J2RE RPM from Sun's website?

Any help is GREATLY appreaciated and is rewarded with a cookie!
Reply With Quote
  #2 (permalink)  
Old December 25th, 2002
Superhyper
Guest
 
Posts: n/a
Default You need to put in your /usr/bin...

Sun's j2re installs in a very stupid place, you'll have to make a symlink from the java executable to your /usr/bin directory. First log in as root "su" then
ln -s <directory to java executable here, i.e: /usr/java/j2re1.4.1_01/bin/java> /usr/bin. That will allow limewire to find your jvm.
Reply With Quote
  #3 (permalink)  
Old December 25th, 2002
Joe_Bogarde
Guest
 
Posts: n/a
Default Installation does not complete because Jvm not found

This discussion group has described my problem. I am running redhat 2.4 18-14. I've attempted to install Java 1.4.1 using the self extracting binary, I've even tried to follow the instructions in this forum without success. I have only been up and running my os for only a month or so. I am as newbie as they come, so can someone hold my hand for a minute or two?
Reply With Quote
  #4 (permalink)  
Old December 25th, 2002
Novicius
 
Join Date: December 25th, 2002
Location: Mount Vernon, WA
Posts: 4
Joe_Bogarde is flying high
Question screenshot of my attempt

[root@localhost root]# ln -s /root/java/j2re1.4.1_01/bin/java /usr/bin/java
[root@localhost root]# ln -s /root/java/j2re1.4.1_01/bin/java /root/bin/java
ln: creating symbolic link `/root/bin/java' to `/root/java/j2re1.4.1_01/bin/java': No such file or directory
[root@localhost root]# ln -s /root/java/j2re1.4.1_01/bin/java /usr/bin/java
ln: `/usr/bin/java': File exists
[root@localhost root]# ln -s /usr/java/j2re1.4.1_01/bin/java /usr/bin/java
ln: `/usr/bin/java': File exists
[root@localhost root]# cd /root/Limewire
[root@localhost Limewire]# export J2SE_PREEMPTCLOSE=1
[root@localhost Limewire]# sh runLime.sh
runLime.sh: line 14: java: command not found
[root@localhost Limewire]# java -jar RunLime.jar
bash: java: command not found
Reply With Quote
  #5 (permalink)  
Old December 29th, 2002
Novicius
 
Join Date: December 29th, 2002
Location: Switzerland
Posts: 2
polgard is flying high
Default same problem

I am having the same problem. I have installed LimeWire to /root/bin, I have jre installed (under Suse8.1) to /usr/lib/java/jre/bin and have tried making a link with
"ln -s /usr/lib/java/jre/bin/java /usr/bin/LimeWire"

but get the same message:
" java: command not found"

If anyone has an answer to this, I would be glad to hear
Reply With Quote
  #6 (permalink)  
Old December 29th, 2002
nordicart
Guest
 
Posts: n/a
Smile Java system variables need to be set

I had the same problem (Redhat 7.3). You need to set a system enviorment variable and add it to your profile file.

Step 1: Find out the file location for java. Mine is:
/usr/java/j2re1.4.1_01

Step 2: You need to add some lines to your login profile file located at /etc/profile

Open the profile file with a text editor and add the following lines (add it as the first few lines of the file):

JAVA_HOME=/usr/java/j2re1.4.1_01
PATH=$PATH:$JAVA_HOME/bin

Step 3: Restart your computer, open up a shell console, and type in java. You should get a listing of availible commands for java.

This should solve your problem.

P.S.
Also, FYI, if you install Java Web Start you need to do this same thing. Add the following text to the profile file:

JAVAWS_HOME=/usr/java/j2re1.4.1_01/javaws
PATH=$PATH:$JAVAWS_HOME
Reply With Quote
  #7 (permalink)  
Old December 31st, 2002
Novicius
 
Join Date: December 29th, 2002
Location: Switzerland
Posts: 2
polgard is flying high
Cool solved

thanks nordicart for your help. I solved the problem however by installing LimeWire under my user account rather than root, and everything worked fine. I had thought that programs should be installed under root, but in this case it seems not. Anyway, everything now works fine.

Happy New Year
Reply With Quote
  #8 (permalink)  
Old December 31st, 2002
Novicius
 
Join Date: December 25th, 2002
Location: Mount Vernon, WA
Posts: 4
Joe_Bogarde is flying high
Default Success

My problem was solved by looking at the solution to all installtion problems, thanks.

I errantly was trying to edit the .etc/conf but omitting the dot. Duh. Please check out my new thread winmodem under Linux, any suggestions you have would help.javascript:smilie('')
Reply With Quote
Reply


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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Search is going nuts jconstilts General Windows Support 2 November 3rd, 2006 10:02 AM
Please Help! im going nuts! BLAKOUT Connection Problems 2 September 11th, 2006 03:40 PM
Plz Help! Going nuts... Gutted Connection Problems 6 April 14th, 2006 04:54 PM
Numb Nuts alert -probably amartin1908 Download/Upload Problems 1 March 21st, 2005 02:59 AM
Nuts, according to your poll fleppir User Experience 2 October 2nd, 2001 04:20 AM


All times are GMT -7. The time now is 05:28 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.