Tech Support Forum banner
Status
Not open for further replies.

jre7 not working with Windows7

9.3K views 57 replies 6 participants last post by  pittore  
#1 · (Edited)
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.
 
#2 ·
#3 ·
Hi,go to Start,search and type:- cmd, right click on the returned cmd.exe and select "run as administrator" at the prompt type:-

Code:
java -version
(press enter)

you should see something like this:-

java version "1.7.0_40"
Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
Java HotSpot(TM) Client VM (build 24.0-b56, mixed mode, sharing)

Make a note of the second number on the second line (eg: java version "1.7.x_xx" --> (7).

64 bit only: Check whether you're using a 64 or 32 bit version of java by looking in C:\Program Files\ and C:\Program Files (x86)\ for a folder called Java. Inside this folder there should be another which corresponds to your version number above. This should be jre? where the ? is 7 in this case. If you cannot find a jre? folder in the Program Files directory, then you do not have the 64 bit version of java installed.


Next, right click on Computer, select Properties, then click on Advanced system settings.

Click Environment Variables.
Under System variables click on New.
Enter JAVA_HOME as the Variable name and C:\Program Files\Java\jre? as the Variable value, where ? is the version number from earlier (7 in this case).
Click OK to close all the windows, then try running java again
 
#4 ·
did what you instructed but there was no change in the situation. In all browsers: IE10, Mozilla, Chrome the java logo appears with the dots in a circle going riund and round but the pink rectangle that is supposed to appear or the version listing never shows. I still cannot run any applets!:cry:
 
#5 ·
Yes, Dave and Jenae,

I did what both of you suggested very systematically, step by step, rebooted and situation is the same. any other suggestions?
 
#7 ·
I completely uninstalled all java programs, JDK and jre, before rebooting and re-installing jre7 from java.com. Nothing changed. When it reinstalled jre7 into the java folder, even the JAVA_HOME variable did not have to be changed because it was the same path as before. I do not have the JDK anymore. My next step is to systematically uninstall a whole bunch of software that I am not currently using such as Visual Studio and Visual C++ etc. and see if that helps. Do you think that makes sense?
 
#8 ·
Have you tried downloading it without uninstalling it first.

If you already have a successful install then you will get the message that it's already installed and would you like to overwrite it or words to that effect.

When you download it afresh after uninstalling it in IE, have you tried selecting Save then run the .exe as an administrator.

While you have it enabled in browsers via its console, you may want to double check that the Scripting of Java applets is enabled How do I enable Java in my web browser? - otherwise no other suggestions other than perhaps a sfc /scannow run as an administrator from the cmd prompt.
 
#10 ·
Hi, lets see what the registry tells us:-Go to start, search and type:- cmd, right click on the returned cmd.exe and select "run as administrator" at the prompt copy paste:-


Code:
reg query "HKLM\SOFTWARE\JavaSoft\Java Runtime Environment" /s > 0 & notepad 0
press enter, please post the notepad outcome here (copy paste).
 
#11 · (Edited)
http://jerryrosspittore.com/Verify.png

also

I got this when I tried your command statement:

screen flickers but I cannot find notepad entry..where should I look for it?

note: from posted image above you can see that when I run the grails framework script it says JAVA_HOME is not valid but when I actually navigate their and run the java -version command it works!

What gives?
 
#12 ·
Hi, looks like you did not run as administrator, it is essential you follow the instructions in post #10. Notepad will open automatically.

Your link also does not work.
 
#13 · (Edited)
I just ran as administrator just now. I pasted the request sting into the start search box and right clicked to run as administrator. Screen flickered as before but no notepad opened. Then I went to start search box and typed in cmd.exe and pressed control shift enter and then I got a cmd prompt. From here I typed in the whole string you gave me and pressed enter. I got "system could was unable to find the specified registry key or value."

Regarding link I pasted. It worked last night but when I just clicked on it I was redirected to a tapdestin.com page that told me file did not exist. But when I type the same link into my browser, it works fine. What do yiu think mght be going on there? Sometimes when I type links targeting my website on facebook, people report link gives them an error. What error did you get? I am trying to get to the bottom of this issue as well!!!

I just went to Google instructions and unselected "suggest other pages" option for links. I then pasted the http://jerryrosspittore.com/Verify.png into Chrome browser and it works. Why does link not work when posted in this site or facebook? Strange indeed. For example, I just clicked in the link yiu see here in blue and it is not found. I copy and paste link into my IE10 browser and it just worked. ???? go figure.
 
#14 ·
I'm starting to think this could be a malware issue, maybe a browser hijack.

For the reg query thing, it still seems like you may not be following the instructions correctly. Copying the string into the start search box was never going to get you anywhere.

Type cmd in the start search box and cmd should appear at the top of the list. Right click that and select run as administrator.

Right click in the cmd window and paste the command.

Then press enter.
 
#15 ·
OK I did exactly that and it ran.
Notepad popped up but was empty (no text inside)
The cmd window said "the system was unable to find reg key or value" same as before. The Notepad has 0 - notepad in the title. Are you sure of the string? should & be a + maybe?

Anyway the message seems to indicate that the registry is screwed up. Now how to fix that?

I have a PC TuneUp Maestro that seems to fix registry problems and I ran that but it hasn't changed anything.

I also suspect Malware on the link problem but if the malware is infecting my avahost.com site then what can I do about it? they claim to run two antivirus scans each Friday but it hasn't stopped this problem.



pittore
 
#16 ·
Anyway the message seems to indicate that the registry is screwed up.
Almost certainly!

Now how to fix that?
I'm not sure but not like this.

I have a PC TuneUp Maestro that seems to fix registry problems
I've not heard of this particular one although a quick Google confirms it to be an undesirable. Software with names like this one generally do much more harm than good and here at TSF, as at other reputable support sites, would always advise against using any kind of registry cleaner.

If you believe you are infected then you should really get checked over with our security team. The registry problem would likely be rectified as part of the cleaning process.

Edit; By the way, the script works on mine.
 
#18 ·
It sounds like you need help with cleaning out malware, Please follow our pre-posting process outlined here:

NEW INSTRUCTIONS - Read This Before Posting For Malware Removal Help - Tech Support Forum

After running through all the steps, please post the requested logs in the Virus/Trojan/Spyware Help forum, not here.

If you have trouble with one of the steps, simply move on to the next one, and make note of it in your reply.

Please note that the Virus/Trojan/Spyware Help forum is extremely busy, and it may take a while to receive a reply.
 
#24 · (Edited)
Yes, very strange. When I post to JRF Forum or any social media I get the same "file not found" but when I paste into my browser it shows up as an image of my cmd window. BTW that image shows the result of my java -version command which spits out the current correct version of the jre installed on Program files (x86) and then shows the result of my grails command which is supposed to run my grails framework but which instead gives the "JAVA_HOME" incorrect error.

Anyway I ran the scans suggested by Rich and have posted the attach.zip to the Malware Security Forum.
 
#25 ·
I see what you mean about pasting in the URL -



As it's having problems with the 32 bit version have you tried enabling IE10 x64bit via Tools - Internet options - Advanced then scrolling down to Security and checking the box for Enable Enhanced Protected Mode and after the reboot, go to www.java.com and download the 64 bit version to see if that one works.

It won't resolve the problem with the 32 bit version, but should let you know if anything else is amiss if that one doesn't work as well.
 
#27 ·
I haven't heard anything from Malware Security Forum since posting there. So I just went there again and do not see my posting of scan file. Is there something else I am supposed to be doing? Instructions there said to post "BUMP" there but I cannot find a place to post anything. I did see a step I missed (to subscribe) so I went ahead and did that.
 
#28 ·
You don't appear to have read the instructions properly.

DDS.txt is the most important part and you must have it because otherwise you wouldn't have attach.txt. The DDS log should be copied/ pasted directly into the thread. (NOT ATTACHED)

Also, you need to post the results from GMER (ark.txt) which should be attached in the same way that you posted attach.txt

Just hit post reply and post the required logs. This will bring your thread back to the top of the list so no need to bump until 72hrs after that post if you didn't get a response.

I cannot find a place to post anything.
Not sure what you mean. Simply hit the post reply button.
 
Status
Not open for further replies.
You have insufficient privileges to reply here.