The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Connection problem with gui java program to postgreaql database using unix uci UNIX for Dummies Questions & Answers 2 12-15-2007 05:16 AM
AIX, Hibernate, Java 1.5 website problem coaxis AIX 0 09-21-2006 02:28 PM
Problem using Java Native Interface on Debian QED High Level Programming 0 01-25-2006 07:59 AM
Java resousebundle problem mskcc OS X (Apple) 0 11-21-2005 01:56 PM
ksh script and java problem adrian.mihai Shell Programming and Scripting 0 06-20-2005 02:38 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-30-2002
Registered User
 

Join Date: Aug 2001
Location: San Diego
Posts: 32
Question Java vm problem

I am using Redhat 7.2. I am trying to install LimeWireLinux. I downloaded the latest versions of LimeWireLinux and JavaVM. I have been trough Limewire, and Sun's setup documents and have done the workarounds for any known problems. My problem is: I get the following error when tring to install the LimeWireLinux.bin file
" Configuring the installation. No jave virtual machine could be found from your Path environment variable. You must install a VM prior to running this program." Like I said, I have installed Java, but it sounds like it can't find it. I have tried installing it as root, and as a user from the user home directory.I am using the following command to install it: sh LimeWireLinux.bin When I try to run the install in a terminal window, I get the following error: "incorrectly setup Uniux98 ptys". I have searched, but I cannot find any help with this error. How can I get the program to recognize java to start the installation? Thanks, Jeremie

Last edited by jeremiebarber; 03-30-2002 at 10:32 AM.
Forum Sponsor
  #2 (permalink)  
Old 04-02-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
Type "whereis java" to get the path to the java executable. Then, add that path to your $PATH variable. For example, if "whereis java" says it's at /opt/java/bin/java, you'll want to type this:
PATH=$PATH:/opt/java/bin

If you want this available every time you log in, put this line in your .bash_profile (assuming you're using bash - "echo $SHELL" to find out) or possibly better yet, put it in your .bashrc file.

Let us know if this works out.
  #3 (permalink)  
Old 04-02-2002
Registered User
 

Join Date: Aug 2001
Location: San Diego
Posts: 32
Thanks for responding. This is a great help. When I type "whereis java", I get: java:
That's it. I don't get a location like /opt/java/bin/java. I don't really understand why it says that, instead of the location of the java executable. What does java: mean?
  #4 (permalink)  
Old 04-02-2002
LivinFree's Avatar
Goober Extraordinaire
 

Join Date: Jul 2001
Location: Portland, OR, USA
Posts: 1,584
That means it didn't find it... Don't worry though, it can still be done.
Do you know where java is installed, and what command to use to invoke it? If so, just put the directory where the executable commands resides into your PATH, like above.

Will it work now?
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 12:19 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0