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?
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.
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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.