Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Unable to find virtual machine

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 40912
840
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic