• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unable to find virtual machine

 
Jim Henessey
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34073
335
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jim,
Make sure that the folder containing java is in your PATH environment variable.
 
Jim Henessey
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic