Uninstall Java on Mac OS X?

6

2

I'm working on a trouble shooting document for some desktop software that runs in Java. One of the last resort steps is to completely uninstall and reinstall the Java runtime. In Windows XP this can be done via Add/Remove Programs. Is there something equivalent on OSX? Or does reinstalling the runtime overwrite the current version?

Jesse

Posted 2009-07-16T18:03:05.833

Reputation: 63

Answers

6

You can't easily remove Java from OS X, since it is built in to the OS; in this way, you can't (again, easily) revert to previous installations of the JRE - from Apple:

Can I remove a Java update after I've installed it?

Java on Mac OS X is updated incrementally through numerous releases. Therefore, the only way to revert to an earlier Java installation is to reinstall the operating system.

Alex Rozanski

Posted 2009-07-16T18:03:05.833

Reputation: 483

Looks like you're right. The Java website says something similar (updates only happen through Software Update) – Jesse – 2009-07-16T18:26:12.173

Most unfortunate. I just ran into a case where the Java update breaks a common Java library (Microsoft's JDBC driver). – Brian Knoblauch – 2011-12-15T17:41:14.300

More recent, in Ask Different: Uninstalling Java on Lion. Please note in particular this comment to an answer.

– Graham Perrin – 2013-02-02T19:32:42.747

3

I believe Java is a core component of OS X in Leopard, so re-installing it is quite tricky.

Hopefully this site can provide you with some answers

Alexis Hirst

Posted 2009-07-16T18:03:05.833

Reputation: 1 121

1The linked page has the instructions for removing and reinstalling Java. I think this is the correct answer! – Avi Flax – 2009-08-18T13:17:52.350