Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Linux Support (https://www.gnutellaforums.com/general-linux-support/)
-   -   no java vm found.... (https://www.gnutellaforums.com/general-linux-support/18493-no-java-vm-found.html)

selassie_irie January 10th, 2003 11:27 AM

no java vm found....
 
I have installed j2re1.4.0 on my comp, but when trying to run LimeWire, I am getting the message:
No Java virtual machine could be found from your PATH
environment variable. You must install a VM prior to
running this program.
I already had jre installed in my comp previously, but I deleted it and had to reinstall it, blah blah, so I had fixed this problem once before I believe, but I do not remember how. I remember having to open up some file and typing in some PATH info, but I can't remember what file I had opened or what I had typed. Can anyone help??

Also, sort of off topic, but I am trying to figure out how to use jre to write java programs. It does not recognize javac at all, does anyone know how to use jre to program java progs? You can e-mail me on that info: erw9@dana.ucc.nau.edu

Thanks.

selassie_irie January 10th, 2003 02:36 PM

Ok, well my LimeWire problem was solved. LimeWire is once again up and running.

My only problem now is w/ java. I don't know how to use it to program. So any info concerning that would be appreciated. Thanks!

jed44 January 21st, 2003 11:58 PM

installing LimeWire
 
I installed the Java j2re 1.4.1-01, it installed to a folder at /user/java/j2re1.4.1_01 (this location is used in the PATH=$PATH: )
then, I opened my Terminal (DO NOT install as root, so don't use Super User Mode Terminal)
then cd to the folder where I downloaded LimeWireLinux.bin, then I typed in:

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

download January 23rd, 2003 08:00 PM

JAVA Help Made easy
 
hey i run this help site read my HOW-TO here,

http://www.mytechperson.com/limewirelinux.html
if you still dont get it goto the main page mytechperson.com
and look me up in the chat

HwzrHlslndr February 1st, 2003 06:57 AM

Regarding your message "No Virtual Machine found," I have been through this same frustration on three seperate occassions--3 different versions of RH.

The following does it for me every time:
$ export JAVA_HOME=/usr/bin/java/j2re
$ export PATH=$PATH:/usr/bin/java/j2re/bin
$ sh LimeWireLinux.bin

Obviously, you will need to adjust the paths above per the location of your java install.

Good luck!
Thomas

Sk8Er_GuY April 15th, 2003 12:58 PM

Re: installing LimeWire
 
Quote:

Originally posted by jed44
I installed the Java j2re 1.4.1-01, it installed to a folder at /user/java/j2re1.4.1_01 (this location is used in the PATH=$PATH: )
then, I opened my Terminal (DO NOT install as root, so don't use Super User Mode Terminal)
then cd to the folder where I downloaded LimeWireLinux.bin, then I typed in:

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


I did this and i still get this error

Code:

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 prior to
running this program.


Sk8Er_Guy April 15th, 2003 01:00 PM

Ok nvm i got it thanks anyways

Gringo July 17th, 2003 06:12 AM

What is the version j2re1.4.0 for Red Hat?
 
Hi I am Gringo (from the first no replied post) .
My problem is similar but differs in details in the way I can't solve it with the thread I've seen.
I have the problem of "No Java virtual machine could be found from your PATH" and my platform is Red Hat Linux 7.3. So I went to
rpmfind.net and downloaded and installed the package java-vmspec-1.0-2.noarch.htmlThe (Java(tm) Virtual Machine SpecificationArch Independent RedHat ). It seems to be the right package but nothing happens, I don 't even have the directory /usr/java created. So I looked again in rpmfind.net for a j2re1.4.0 but the packages I found are not for redhat. Where can I find j2re1.4.0 for redhat?

clubkidd July 24th, 2003 02:31 AM

Ok the link to get the linux rpm of sun java is:
http://www.java.com/en/download/manual.jsp

Go there and download the rpm. there are instructions on how to install it there.

Ion a redhat machine it will create the directory /usr/java/j2.<version>

to fix the path and maintain it after to reboot and such, a simple fix is this:

create a text file in your
/etc/profile.d directory (you'll need root permission) and call it
something like java_path.sh.

In the file enter in this string:
"export PATH=$PATH:/usr/java/j2re_1.4.2/bin"

Make sure that the /usr/java/....part points to your bin directory
wherever you installed your java and that the j2re part matches the actual path to that bin directory.

Save the file. Log out and log back in. at a console type "java
-version" if everything went well it should be good to go.

To make sure is in your PATH listing type in a console "echo $PATH" if everything went well you should see the path to your java bin directory at the lend of the list.

curtis@facelifted.com


All times are GMT -7. The time now is 06:29 PM.

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.