<

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x

Java can't be uninstalled "jre1.7.0._17-c.msi" the path cannot be found.

Published on
9,536 Points
3,536 Views
Last Modified:
Approved
I was doing some work for a client, and they were having an issue with an application that uses Java. As it turns out, they can't install or remove the version of Java that is on the laptop.

I try to install/remove and I get:

Java 7 Update 45
The feature you are trying to use cannot be found.
Use source ( in the box there is a 1)

I click OK and it gives me

The path 1 cannot be found try to find the installation package "jre1.7.0._17-c.msi in a folder.

I cancel out.

It gives me:
Error 1714 The older version of Java cannot be removed.

I search the web for all different solutions, about 5 hours worth and nothing.
Deleting any Java related folders/files in windows
Making sure I removed anything related to java from the registry.

Nothing worked, same result... Ready to format the machine and reload EVERYTHING...

Then I tried the following:

Open regedit
Use the find option in the edit menu
I put the version of java that it was looking for when I was trying to load or unload, in the find field. In my case it was

 jre1.7.0._17-c

Clicked find

Boom!

There it was, a registry key that had my version in it, on closer inspection there were other references inside the key to the source being "1" just like the error message I got above.

I knew this was it.

I backed up the key.

Deleted this key and the parent key above it which also had some additional java info in it.

Rebooted the machine and PRESTO!

I was able to load both the 32 and 64 bit versions of Java as needed, no hassles

Hope this helps some other poor bastard like me not have to waste 5 hours to figure it out.
0
Comment
Author:tech911
1 Comment

Expert Comment

by:SAN DVM
Thank you very much! Your advice is to help me deal with this problem. Only in my case the file name is jre1.7.0_17-c.msi (without "."after " 0"). Good Luck To You!
0

Featured Post

OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

Join & Write a Comment

Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Other articles by this author

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month