Jump to content
CCleaner Community Forums
Tom AZ

Delete old Java folders?

Recommended Posts

A while back at the suggestion of Dennis, I uninstalled Java. However, I just found a few leftover folders. Is it OK to delete the following and all their contents?:

 

C:\Windows\Java

C:\Windows\Application Data\Sun

Share this post


Link to post
Share on other sites

I was thinking the C:\Windows\java folder was created by Windows itself, however I don't know if that's correct. Mines empty too. As for C:\Windows\Application Data\Sun if you've removed the Sun Java Runtime Environment it's safe to remove.

Share this post


Link to post
Share on other sites

I've found that sometimes even empty folders can act the same as shared .dlls or Common Files and removing them could have weird consequences down the road. If you have Vista or 7 with a terabyte-size drive, don't be as unforgiving as when you had a smaller drive with XP. Let the hive grow. Bang your head less.

Share this post


Link to post
Share on other sites

The C:\Windows\Java folder does not exist on a clean Windows install :)

 

It seems Oracle (ex-Sun) programmers didn't learn Windows programming guidelines correctly... do not create folders in C:\Windows <_<

Share this post


Link to post
Share on other sites

Well old versions of Windows had a Java folder even before installing back then Sun Java Runtime, which was the reason I didn't know if XP and newer had it by default.

Share this post


Link to post
Share on other sites

It seems Oracle (ex-Sun) programmers didn't learn Windows programming guidelines correctly... do not create folders in C:\Windows <_<

Life could be so much easier when uninstalling software,

if only the guidelines prevented the use of the registry ! !

Share this post


Link to post
Share on other sites

Life could be so much easier when uninstalling software,

if only the guidelines prevented the use of the registry ! !

 

Actually, the guidelines say a lot of things such as "don't leave registry keys, or empty folders".

But 90% of developpers don't care about guidelines on Windows.

Share this post


Link to post
Share on other sites

The C:\Windows\Java folder does not exist on a clean Windows install :)

It may have been a leftover from the time when Microsoft had their own proprietary Java VM.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...