| Windows 7: JVM no longer runs |
27 Apr 2012
|
#1 | | Windows 7 professional x64 |
JVM no longer runs I have a problem with Jre installation. I installed Eclipse a couple of weeks ago, and everything ran fine. I tried it again today and I get the following message:
"A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse. No java virtual machine was found after searching the following locations: C:\Program Files\eclipse-cpp\jre\bin\javaw.exe in your current Path"
Here is my problem the path to the jre installation is in the PATH variable, and everything worked until today. there is a java\jre6 installation in both "Program Files" and "Program Files (x86) directories. I think its the java update that has screwed everything up, but could do with some advise as to what the problem is, and how to prevent it happening again.
I had this problem months back before my hard drive died, and I can't remember what fixed the issue; I think I had to uninstall all of the Java and then re-install it.
Also I saw a reply to one similar thread that windows 7 had a configuration option that could disable Java - is this true, and if it is how do I check it to see if this is my problem. | My System Specs |
| OS Windows 7 professional x64 |
27 Apr 2012
|
#2 | | win7 home premium-64bit-SP1-IE9RTM Beirut |
Welcome to the forum
Some programs when updated leave behind some leftovers and that lead to some problems.
Please go to the following thread and see if it is for some help: Java not functioning.
Good luck | My System Specs | | System Manufacturer/Model Number HP pavilion DV6-Laptop OS win7 home premium-64bit-SP1-IE9RTM CPU T6600 2.2Ghz Motherboard HP Model 3628 Memory 4 Gb Graphics Card ATI Mobility Radeon HD 4530 Sound Card IDT High Definition Screen Resolution 1366x768 @ 60Hz Hard Drives 500Gb Western Digital |
27 Apr 2012
|
#3 | | Windows 7 professional x64 |
Thanks for the redirect, unfortunately no go. The browser runs JAVA fine, and the tool says the latest is installed. However type "java" at the command prompt still same problem unless I go to the folder and run "java.exe". then typing "java -version" at the command prompt does actually display the version information. Eclipse still reports the same message, even though the java directories are in the system path.
Like I said earlier eclipse was running earlier in the week now its not so either one of the java updates or one of the windows critical updates I received in the last couple of days broke something. http://cssimg.sevenforumscdn.com/images/smilies/mad.png | My System Specs | | OS Windows 7 professional x64 |
28 Apr 2012
|
#4 | | win7 home premium-64bit-SP1-IE9RTM Beirut |
Maybe you have to check with your ECLIPS ? | My System Specs | | System Manufacturer/Model Number HP pavilion DV6-Laptop OS win7 home premium-64bit-SP1-IE9RTM CPU T6600 2.2Ghz Motherboard HP Model 3628 Memory 4 Gb Graphics Card ATI Mobility Radeon HD 4530 Sound Card IDT High Definition Screen Resolution 1366x768 @ 60Hz Hard Drives 500Gb Western Digital |
29 Apr 2012
|
#5 | | Windows 7 Home Premium x64 SP1 Bay Area Peninsula |
Welcome to Seven Forums PWDawgy. Forgive me if I misunderstood your original post, so I will ask some questions.
If you navigate to C:\Program Files\eclipse-cpp\jre\bin , is there a javaw.exe there? If so hover your cursor over it, and see what version it is.
Now navigate to C:\Program Files\Java\jre6\bin and hover over the javaw.exe there.
Are they both the same version? It's possible you updated Java, but the version in Eclipse is an older version.
You could copy the javaw.exe from C:\Program Files\Java\jre6\bin to the C:\Program Files\eclipse-cpp\jre\bin
As long as the path points to a javaw.exe in C:\Program Files\eclipse-cpp\jre\bin , then Eclipse should work.
It may be simpler if Eclipse has an update, but I'm assuming you have already confirmed that?
A Guy | My System Specs | | OS Windows 7 Home Premium x64 SP1 CPU INTEL Core i5-750 Quad-Core 3.37GHz Motherboard ASUS P7P55D Memory KINGSTON 4GB (2 x 2GB) HyperX PC3-12800 DDR3 1600MHz CL8 Graphics Card MSI N240GT-MD1G/D5 GeForce GT 240 1GB 128-bit GDDR5 Monitor(s) Displays Samsung SyncMaster B2430H 24" Screen Resolution 1920 x 1080 PSU ANTEC TruePower New TP-550, 80 PLUS, 550W Case ANTEC Three Hundred Illusion Cooling COOLER MASTER Hyper 212 Plus, 4 x 120mm 1 x 140mm Noctua's Hard Drives Intel X25M Gen2 80GB, SEAGATE 500GB Barracudaź 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache Internet Speed 20 + Mbps Antivirus Avast Browser Opera |
30 Apr 2012
|
#6 | | Windows 7 professional x64 |
Thanks Hanna1 and A Guy,
Still not sure why JRE is not running from the get go with the latest auto updates. But for the Eclipse problem I have the work around, not Idea but it does follow the last post.
When I looked at the java sub-directory in Eclipse it was empty (can't swear it was that way before the update, but I know it did work prior to the update), copying the contents of the Java\jre6 into this directory fixed the problem; I even tried jre7 which to date is functioning correctly.
Again thanks for all your help and support, without it I would still be looking. | My System Specs | | OS Windows 7 professional x64 |
30 Apr 2012
|
#7 | | Windows 7 Home Premium x64 SP1 Bay Area Peninsula |
I don't believe the Java installer removes older versions, at least it never did before. I'm assuming updating JRE does not update the version in Eclipse. It would seem likely that Eclipse must update soon after. Is there an updated version? In any case, glad we could help and you got it sorted
A Guy | My System Specs | | OS Windows 7 Home Premium x64 SP1 CPU INTEL Core i5-750 Quad-Core 3.37GHz Motherboard ASUS P7P55D Memory KINGSTON 4GB (2 x 2GB) HyperX PC3-12800 DDR3 1600MHz CL8 Graphics Card MSI N240GT-MD1G/D5 GeForce GT 240 1GB 128-bit GDDR5 Monitor(s) Displays Samsung SyncMaster B2430H 24" Screen Resolution 1920 x 1080 PSU ANTEC TruePower New TP-550, 80 PLUS, 550W Case ANTEC Three Hundred Illusion Cooling COOLER MASTER Hyper 212 Plus, 4 x 120mm 1 x 140mm Noctua's Hard Drives Intel X25M Gen2 80GB, SEAGATE 500GB Barracudaź 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache Internet Speed 20 + Mbps Antivirus Avast Browser Opera |
01 May 2012
|
#8 | | Windows 7 professional x64 |
That's what is odd, the eclipse deliverable doesn't provide a JVM nor a folder marked jre. It assumes that java is in the system path, otherwise it looks for it in the default location
eclipse\jre\. Up until two weeks ago (the last time I used eclipse before this all started) eclipse ran as expected, then suddenly without an eclipse update I can't run the executable because it can't find the jvm. The only things that changed on my system related to this was my system received a number of critical windows updates and a couple of java updates.
I had to re-install to get the browser to work, but eclipse will not work unless I put the jvm executable in the default path 'eclipse\jre'. Something has changed I don't know what and I don't know how to correct it, but putting the path of the Java executable in the system path doesn't resolve it so I suspect the windows update changed something.
I'd like to get to the bottom of the issue, since my solution is a workaround, so if you have any ideas I appreciate them. | My System Specs | | OS Windows 7 professional x64 JVM no longer runs problems? All times are GMT -5. The time now is 08:43 AM. | |