4

Can I delete the Java folders from Users/me/Library/Application Support?

They are taking up 1GB of space.

Note: I have applications that use Java so I don't want to remove these folders if other applications need them.

enter image description here

UPDATE Jan, 2021:
I deleted the files from before (or let Java installer delete them and everything seems to work) but now I went to check the folder again (much later) I now see this:

enter image description here

Is it OK to delete these as well? Java updater did fail multiple times in the past in its update process but was successful recently.

I'm guessing these are the new folders it created after the failed past attempts.

Can I delete them as well?

3
  • Presumably you only need the latest version (unless you have some weird Java programs that require a specific version). So keep 1.8.111.14 and bin the rest.
    – DavidPostill
    Commented Dec 8, 2016 at 17:08
  • You are the only one who can tell us if your applications require specific versions of Java and do not work with any other version.
    – Ramhound
    Commented Dec 8, 2016 at 19:12
  • 1
    How do I know which applications need what? Commented Dec 9, 2016 at 10:54

1 Answer 1

2

Unless you explicitly require the support of multiple versions of java or if you are a developer and this is a requirement, you can just keep the last version, as default when Java updates it ADDs a new version and keeps the old one to some extent, it doesn't necessarily uninstall/delete all of the older version related files, so yes, it should be safe for you to delete them, especially because they are all subversions of 1.8 and it is extremely unlikely you would have compatibility issues between versions (if you have java 1.5 and java 1.8 for example, compatibility issues would be extremely more likely if there happen to be any). Regardless, you machine, unless setup with specific exceptions, will only use 1 java version, usually controlled by environment variables / registry so you shouldn't need to worry about what applications need what, just check you current working version by typing:

java -version

on your terminal and get rid of the other versions.

1
  • Everything seems to still be working after having deleted the old versions but I noticed a new thing. I've added it to my question. Commented Feb 9, 2021 at 19:56

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .