• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Should I delete c:\Windows\SysWOW64\java.exe so I can run Java 1.7?

 
Ranch Hand
Posts: 428
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

I just installed the jdk1.7 and while javac works, java.exe does not. The problem is with my path. I have added the %JAVA_HOME%\bin to the end of my path. I'd rather not add it to the front, I suppose that would be one solution.

The problem is that someone (not me) or something as copied the java6.24 to the following path:

c:\Windows\SysWOW64\java.exe

Who did that! bash/cmd are find this java.exe (version 1.6) instead of my new java.exe (version 1.7) later in my path! What should I do? Delete that rogue copy in SysWOW64?
OK, I did a quick google search and found this:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6717435

Hmm... I don't understand the resolution. It says: "The fix is to make sure the 64 gets in there when we copy the RemoveFile table for 64-bit. " I think this a sun internal document for their developers. What am I supposed to do? Delete c:\Windows\SysWOW64\java.exe?
Thanks,
Siegfried
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the easiest and best way is to make sure that the bin directory if your Java 7 JDK is in the PATH before the directory where it finds the wrong exe. Deleting files in Windows system directories manually is almost never a good idea. I think that if you delete the java.exe in the Windows system directory, Java might not work anymore in your browser.
 
reply
    Bookmark Topic Watch Topic
  • New Topic