aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Unable to find virtual machine Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Unable to find virtual machine" Watch "Unable to find virtual machine" New topic
Author

Unable to find virtual machine

Jim Henessey
Ranch Hand

Joined: Sep 13, 2003
Posts: 32
Hello,

I've had Eclipse installed on other systems without any problems. I just installed it on a new computer (no issues in downloading), and when I try to start it up I get the message "A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available to run Eclipse. No Java Virtual Machine was found after searching the following locations: C:\Program Files\eclipse\jre\bin\javaw.exe 'javaw.exe' in your current path"

When I do a search on Google, almost all of the results deal with installation on Linux - the computer on which I'm running Eclipse has Windows ME. I have Textpad on the machine as well - there are no issues with compiling and running code.

My j2re1.4.1_05 folder is located at C:\Program Files\

I'd appreciate any help that can be provided - if this is discussed at length in some part of this site or on the sun site, a link would be enough.

If any additional information is required, please let me know.

Thanks.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30537
    
150

Jim,
Make sure that the folder containing java is in your PATH environment variable.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Jim Henessey
Ranch Hand

Joined: Sep 13, 2003
Posts: 32
Originally posted by Jeanne Boyarsky:
Jim,
Make sure that the folder containing java is in your PATH environment variable.


When I check Path at the command line, it gives me the proper location:
C:\j2sdk1.4.1_02\bin

That's what I find so confusing - if PATH wasn't set properly, Textpad wouldn't work either.
Jim Henessey
Ranch Hand

Joined: Sep 13, 2003
Posts: 32
Okay, whether or not this works as a long-term solution or not, we'll see - but to solve this problem, I just copied my jre folder into the eclipse folder and eclipse not boots up no problem.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to find virtual machine