Solved JVM no longer runs

PWDawgy

New member
Local time
10:34 PM
Messages
4
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 Computer My Computer

OS
Windows 7 professional x64

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP pavilion DV6
OS
win7 home premium-64bit-SP1-IE10
CPU
T6600 2.2Ghz
Motherboard
HP Model 3628
Memory
4 Gb
Graphics Card(s)
ATI Mobility Radeon HD 4530
Sound Card
IDT High Definition
Screen Resolution
1366x768 @ 60Hz
Hard Drives
500Gb Western Digital
Antivirus
MSE
Other Info
Malwarebytes Antimalware + Spybot-Search&Destroy
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 Computer My Computer

OS
Windows 7 professional x64
Maybe you have to check with your ECLIPS ?
 

My Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
HP pavilion DV6
OS
win7 home premium-64bit-SP1-IE10
CPU
T6600 2.2Ghz
Motherboard
HP Model 3628
Memory
4 Gb
Graphics Card(s)
ATI Mobility Radeon HD 4530
Sound Card
IDT High Definition
Screen Resolution
1366x768 @ 60Hz
Hard Drives
500Gb Western Digital
Antivirus
MSE
Other Info
Malwarebytes Antimalware + Spybot-Search&Destroy
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 Computer My Computer

Computer type
PC/Desktop
OS
Windows 10 Home x64
CPU
INTEL Core i5-750 Quad-Core 3.37GHz
Motherboard
ASUS P7P55D
Memory
HyperX Fury Black Series 8GB (2 x 4GB) 1866Mhz
Graphics Card(s)
EVGA GeForce GTX 750 Superclocked 1GB 128-Bit GDDR5
Monitor(s) Displays
LG 32MA68HY 32" IPS
Screen Resolution
1920 x 1080
Hard Drives
Samsung 840 Evo 120GB, SEAGATE 500GB Barracuda® 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache
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
Internet Speed
85 + Mbps
Antivirus
Avast
Browser
Vivaldi
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.:D
 

My Computer My Computer

OS
Windows 7 professional x64
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 Computer My Computer

Computer type
PC/Desktop
OS
Windows 10 Home x64
CPU
INTEL Core i5-750 Quad-Core 3.37GHz
Motherboard
ASUS P7P55D
Memory
HyperX Fury Black Series 8GB (2 x 4GB) 1866Mhz
Graphics Card(s)
EVGA GeForce GTX 750 Superclocked 1GB 128-Bit GDDR5
Monitor(s) Displays
LG 32MA68HY 32" IPS
Screen Resolution
1920 x 1080
Hard Drives
Samsung 840 Evo 120GB, SEAGATE 500GB Barracuda® 7200.12, SATA 3 Gb/s, 7200 RPM, 16MB cache
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
Internet Speed
85 + Mbps
Antivirus
Avast
Browser
Vivaldi
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 Computer My Computer

OS
Windows 7 professional x64
Back
Top