Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Java

Summan Mirza
Summan Mirza
156 Points

Can't uninstall Java JDK? Getting error 1316?

Hello,

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!