• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Unable to find virtual machine

 
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.
 
author & internet detective
Posts: 40212
816
Eclipse IDE VI Editor Java
  • 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.
 
This is my favorite show. And this is my favorite tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic