Java vm problem

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Java vm problem
# 1  
Old 03-30-2002
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 02:32 PM..
# 2  
Old 04-02-2002
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:

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  
Old 04-02-2002
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  
Old 04-03-2002
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?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Java 7 installation problem

Hi, I am trying to install java7.6 on redhat 6.2 but got the below error message. In fact this error comes up for all the supported OS of JDK 7 and JRE 7. I am running this as root and I dont have any other Java version installed. # rpm -i jre-7u6-linux-x64.rpm Unpacking JAR files... ... (5 Replies)
Discussion started by: nvk_vinoth
5 Replies

2. Programming

can i have an optimal solution for this java code ? Facing Java heap space problem even at 3GB heaps

My desired output is run: for this 1 for this 2 for this 3 for this 4 for this 5 for this 1,2 1->2 for this 2,3 2->3 for this 3,4 3->4 for this 4,5 4->5 for this 1,2,3 1->2,3 (2 Replies)
Discussion started by: vaibhavkorde
2 Replies

3. Programming

Problem of using scanner to get space in JAVA

May I know how to get a string with space by using scanner class in java? (0 Replies)
Discussion started by: eel
0 Replies

4. Programming

Java import problem

In a default package, there are and package bank wich contains Account.class . // File: import bank.*; public class BankTest { public static void main(String args) { Account account; ... } } Trying to compile,... (0 Replies)
Discussion started by: Luke Bonham
0 Replies

5. Programming

Java sting up path problem

Hi java programmers I'm a newbee to the Java. Could please help me to set the path correctly. I'm getting the following error. ----jGRASP exec: javac -g C:\Documents and Settings\bogugk\Desktop\ ----jGRASP wedge2 error: command "javac" not found. ---- This command... (1 Reply)
Discussion started by: repinementer
1 Replies

6. Shell Programming and Scripting

Problem with java in crontab

Hello everybody, I have made a java program which runs when i do : java telemesures But when i want to put it in a cron i do /j2sdk1.4.1/bin/java -cp :/web/WEB-INF/classes/Dany4/ telemesures i have got Exception in thread "main" java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver ... (2 Replies)
Discussion started by: totollix
2 Replies

7. Shell Programming and Scripting

problem in java process

Hi, My operating system is centOS. I am running a java process on this os. But my process is killed automatically before completion. The timing of process killing is uncertain. Please help me. Thanks in advance, (0 Replies)
Discussion started by: Mrs. Deswal
0 Replies

8. Programming

Problem using Java Native Interface on Debian

Hi all, First visit to this forum, hope I've chosen an appropriate place to post this. I have a Java-based application that uses native C++ libraries (built with g++-4.0) for specialized, computation-intensive routines. Within the native code, I need to catch exceptions thrown inside... (0 Replies)
Discussion started by: QED
0 Replies

9. OS X (Apple)

Java resousebundle problem

Hi Masters, I am runing a java application on Mac os x10.4, java version 1.5. I had this errors regarding chinese language issue. Could anyone have a hint? Thanks a ton. > java -classpath clinic.jar com.scsl.main.MyClinic Exception in thread "main" java.util.MissingResourceException: Can't... (0 Replies)
Discussion started by: mskcc
0 Replies

10. Shell Programming and Scripting

ksh script and java problem

I have a problem with the execution of a ksh as deamon on linux. I explain you first the context. We have developped a Java program that execute every minutes an external (that we don't have developped) program with a config file in parameter. The Java program is runned as deamon with a perl... (0 Replies)
Discussion started by: adrian.mihai
0 Replies
Login or Register to Ask a Question