Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Summan Mirza
Summan Mirza
156 Points

Can't uninstall Java JDK? Getting error 1316?


So I'm currently starting the android development track. I did some goofs in installing the Java Developer's Kit; I installed in the wrong file location, so I just manually deleted the files out of the programfiles folder. Which, I guess, was a big mistake.

When I attempt to reinstall, it won't let me! I tried uninstalling the program with CCleaner also, which shows up as an installed program despite having any program files folder. Both times, I get the SAME error:

"Error 1316: The specified account already exists."

How do I get rid of the old JDK ghost, and properly reinstall it? No matter what, it won't let me uninstall it off the list of programs, and it won't let me fix the install with the installer. Help?

1 Answer

Welcome to the world of Java and thus Android :)

There would be some traces left even after you deleted the folder.

First try removing Java through Add Remove Programs. If that doesn't work use something like JRa

Let us know if this works, in the meantime I'll look for a turn around.

Summan Mirza
Summan Mirza
156 Points

Sorry for the VERY late reply,

But thank you for your recommendation! I'll have to keep JRa in mind.. in the end, I just did a system restore to undo all the stuff I did. Next time I mess up, I'll be sure to use JRa to clean up the remnants!