I spent 2 days on this so far, installed and reinstalling latest jdk and jre.
It wasn't clear if I needed both installations but I went ahead with both. When I run verify or test for java installation from Oracle web site my system either hangs or just spins its wheels (java logo keeps going round and round) and never lists my version or whatever it is supposed to do. I have tried IE10, Chrome, and Firefox with same result. Java is enabled in all browsers with security and with plugins. I am on an ACER Aspire laptop. My real goal is ability to run physics applets from web. When I try to run these java logo appears going round and round but no applet running. Another goal is to be able to run grails and web dev framework. It requires typing "grails" at command line. When I do that I get message that JAVA_HOME var is incorrect and does not match installation path. I have copied and pasted the path several times and made sure it is correct but always get same error message. Here is what I have for environmental vars:
JAVA_HOME = C:\Program Files (x86)\Java\jdk1.7.0_40\bin;
PATH = C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Intel\Services\IPT\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;%JAVA_HOME%;C:\grails\grails-2.3.0\bin;
CLASSPATH = .;
I have also used JAVA_HOME = C:\Program Files (x86)\Java\jdk1.7.0_40;
& changed the Java reference in the PATH var to ;%JAVA_HOME%/bin;
but it doesn't seem to make any difference. I have scanned system for viruses but it is clean (AVIRA anti virus software)
HELP!!!!
PS: I can use TextPad to compile and run Java programs and applets in its little runtime window so system is finding the jdk ok...it is just the jre that is confounding me.
It wasn't clear if I needed both installations but I went ahead with both. When I run verify or test for java installation from Oracle web site my system either hangs or just spins its wheels (java logo keeps going round and round) and never lists my version or whatever it is supposed to do. I have tried IE10, Chrome, and Firefox with same result. Java is enabled in all browsers with security and with plugins. I am on an ACER Aspire laptop. My real goal is ability to run physics applets from web. When I try to run these java logo appears going round and round but no applet running. Another goal is to be able to run grails and web dev framework. It requires typing "grails" at command line. When I do that I get message that JAVA_HOME var is incorrect and does not match installation path. I have copied and pasted the path several times and made sure it is correct but always get same error message. Here is what I have for environmental vars:
JAVA_HOME = C:\Program Files (x86)\Java\jdk1.7.0_40\bin;
PATH = C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Intel\Services\IPT\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;%JAVA_HOME%;C:\grails\grails-2.3.0\bin;
CLASSPATH = .;
I have also used JAVA_HOME = C:\Program Files (x86)\Java\jdk1.7.0_40;
& changed the Java reference in the PATH var to ;%JAVA_HOME%/bin;
but it doesn't seem to make any difference. I have scanned system for viruses but it is clean (AVIRA anti virus software)
HELP!!!!
PS: I can use TextPad to compile and run Java programs and applets in its little runtime window so system is finding the jdk ok...it is just the jre that is confounding me.