Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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 SpecsSystem Spec
.

27 Apr 2012   #2

win7 home premium-64bit-SP1-IE10
 
 

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 SpecsSystem Spec
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 SpecsSystem Spec
.


28 Apr 2012   #4

win7 home premium-64bit-SP1-IE10
 
 

Maybe you have to check with your ECLIPS ?
My System SpecsSystem Spec
29 Apr 2012   #5

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

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 SpecsSystem Spec
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 SpecsSystem Spec
30 Apr 2012   #7

Microsoft Community Contributor Award Recipient

Windows 7 Home Premium x64 SP1
 
 

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 SpecsSystem Spec
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 SpecsSystem Spec
Reply

 JVM no longer runs




Thread Tools



Similar help and support threads for2: JVM no longer runs
Thread Forum
Windows is taking longer and longer to Boot? Performance & Maintenance
Solved Validation runs over and over and over and over Virtualization
Computer runs really slow in normal mode, but runs fine in safe mode BSOD Help and Support
hp dv with win 7 still runs General Discussion
Solved GTX 470 and GTX 570 which runs cooler ? Graphic Cards
Explorer never runs General Discussion
Recording Something That Runs Over. Media Center

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 04:30 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33