Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Java Runtime Environment, java vm
CD2000
post Oct 17 2004, 09:51 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 17-October 04
Member No.: 3,978



I'm trying to install a program that requires Java Runtime environment in Mandrake 10.1. Whenever I try to install, I get this message: No Java virtual machine could be found from you path environment variable. You must install a VM prior to running this program. I installed j2re-1_4__06-linux-i586.rpm but I am still getting the same message. What can I do to fix this?
Go to the top of the page
 
+Quote Post
Hemant
post Oct 17 2004, 11:09 PM
Post #2


RMS is my Hero
******

Group: Support Specialist
Posts: 782
Joined: 6-October 02
From: Trichy,INDIA
Member No.: 29



Java runtime is usually installed in directory /usr/java and most often "java" executable is not in the "PATH".
Thus you should add...path to java executable to your "PATH" variable and try installing the software.

Do a
CODE
export PATH=$PATH:/usr/java/j2_xxyx/bin


And then procees with installation.You may have to fix the classpath etc.But that comes later.for now you should be able to install you software.

After that you should add those lines permanently to your ~/.bashrc file.


--------------------
Hemant Kumar
user posted image
hemant@linuxhelp.net
Go to the top of the page
 
+Quote Post
CD2000
post Oct 18 2004, 01:29 AM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 17-October 04
Member No.: 3,978



Hemant
I want to thank you for your help. I managed to get it. Thanks a million. wink.gif
Dan Viau
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 13th December 2017 - 11:36 PM