Unable to locate a JAVA virtual machine. Please check your environment.

How to fix this error :
"Unable to locate a JAVA virtual machine. Please check your environment "

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rob StoneCommented:
Try this:

Java software for your computer, or the Java Runtime Environment, is also referred to as the Java Runtime, Runtime Environment, Runtime, JRE, Java Virtual Machine, Virtual Machine, Java VM, JVM, VM, or Java download.
where did you see this error?
probably you need to set the JAVA_HOME environmental variable if oyu had already installed java
eecnmsureshAuthor Commented:
This error was recorded in application error log event in windows 2003 , when i tried to start service (under services.msc ) of my application / software i get this error.

see if you have java already installed,
if so, set the JAVA_HOME env variable to jdk instalation directory and set the PATH varaibel to JAVA_HOME/bin directory.

if you do not have java, then you will need to install it (see Stoner79 link)

maybe you should have got a warning when you installed your software.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.