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
PWDawgy

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
Hanna 1

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
PWDawgy

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://www.sevenforums.com/images/smilies/mad.png
My System SpecsSystem Spec
.

28 Apr 2012   #4
Hanna 1

win7 home premium-64bit-SP1-IE10
 
 

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

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
PWDawgy

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
A Guy

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
PWDawgy

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
Thread Forum
WDC Green: 750 GB runs Hot, 4 TB runs Cool ???
I have two external hard drives, both in Vantec NexStar3 USB enclosures. The older 750 GB WDC Green drive runs HOT to the touch, the 4 TB, and the 2 TB before that, run pretty warm but never hot. Why might this be, and would that much heat cause earlier than necessary drive failure?
Performance & Maintenance
Windows is taking longer and longer to Boot?
ok so my laptop's a few years old. It came with Windows 7 Home Basic. it still has it. My question is that it take A LOT of time to boot. Heres what happens: 1. The starting windows doesn't take that long to disappear, im satisfied with it. 2. But the welcome screen, ugh, First it just...
Performance & Maintenance
Computer runs really slow in normal mode, but runs fine in safe mode
I recently re-formatted my Sony VAIO since it was starting to run super slow. Now that I re-installed Windows 7 on it through recovery disks, it worked fined for about a day but then the problem came back. The computer is slow at bootup and runs super slow while freezing so many times. I am running...
BSOD Help and Support
hp dv with win 7 still runs
just replaced the motherboard on my dv9205 with a later model dv9913 motherboard works ok everything on the screen is a little wide the graphics card rating in windows 7 system properties is 1.0 should be a 4.1 and it runs superpi slow 45 sec but downloads transfers files ok could this be i need...
General Discussion
Why runs slowly when i have 2GB RAM and P4 2.8 Ghz ?
Hello everybody I have problem with Windows 7 on PC computer. IT runs slowly even i turn on clasic view and turned off all effects... My PC is: Pentium 4 2.8 Ghz RAM 2GB Motheroard - AsRock Video - Nvidia GeForce 7600 - 512Mb WIndows installed on Sata HDD 40GB, in system there is more two HDD...
Performance & Maintenance


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 09:20.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App