How can I find out if there is Java Virtual Machine installed on my Windows 7?
Jan 6, 2005 - The Microsoft Java Virtual Machine, or MS Java VM, is used to run. If you have Windows XP SP1a installed on your computer, then you do not. May 22, 2014 - This tutorial explains how you can fix Java virtual machine creation. Here is how that is done (demonstrated using Windows 7, may differ.
MJ_Developer
migrated from stackoverflow.comNov 29 '11 at 15:05
This question came from our site for professional and enthusiast programmers.
5 Answers
Open command prompt and type in the following:
This should give you the version of the JRE you have installed, something like:
If that fails, you can also check to see if you have any JRE installed. The default location is usually in
${HOME_DIR}Program FilesJava
, where ${HOME_DIR}
is usually C:
npinti
Run->cmd
type java -version
.If you get complaint for unknown command then Java is not installed.
user65971user65971
@Yahor10 is right. You can first type
java
and then java -version
in command prompt. If this work you will see that JRE is installed and is in your path.But if it is not in path you will not know it. So, I prefer to open
regedit
and go to key HKEY_LOCAL_MACHINESOFTWAREJavaSoft
. If this key does not exist java is not installed. If exists java is typically installed. Previous versions of java created registry entry that showed path where java is installed. I have just checked on my Win7, java1.6-27 and saw that such entry does not exist. Other way is to got to ControlPanel/Programs and check there.
AlexRAlexR
Either check
java -version
on the command line, look in your installed Software listing (control panel), check whether Program Files
contains a folder named Java
or look if there is an environment variable called JAVA_HOME
.If neither of those is true, there's a high probability that you don't have a JRE or JDK installed, but that's still not certain. AFAIK Windows 7 doesn't contain a JRE per se, so if you have a clean system you most likely don't have a JRE yet.
ThomasThomas
Another way is to check it online.
http://www.inaplex.com/Products/jvmCheck.aspx or
It is working on my system but i am not very sure about its accuracy.
SangramSangram