Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have used many different methods to install java because I want to get Minecraft working. I heared that if I uninstall Java it would installed Libre Office, which I do not want to do. I have a install of sun java, so I think what I'll do is delete all my OpenJDK copies, and Excess sun java 7 copies.

All I want is to rid myself of EVERYTHING JAVA except for one so I can stop feeling so java cluttered (among other things, no doubt I've got libreoffice all confused as to who to choose).

Screenshot from my /usr/lib/jvm folder:

share|improve this question
If you do that you'll lose several programs. LibreOffice is dependent on Java. So are a few other programs such as Eclipse IDE. You must REALLY be certain you want to purge Java first. Are you sure you want to do that? – Thomas Ward Jun 20 '12 at 14:19
Also, Minecraft only works with Sun (Oracle) Java. You cant use openjdk for it. – Thomas Ward Jun 20 '12 at 14:20
@LordofTime I don't plan on keeping it this way forever, obvious, I code in java> I want to purge my system of java, and from there, I can install java again using apt-get. Unless reinstalling breaks libreoffice, and eclipse, I should be ok. – JXPheonix Jun 20 '12 at 14:24
@LordofTime yes, so I will probably install sun instead of openjdk – JXPheonix Jun 20 '12 at 14:25
The uninstallation of Java (OpenJDK) with apt-get will uninstall LibreOffice. I strongly recommend you do not uninstall all your Javas before putting one back on (since the libreoffice package, last i checked, has openjdk as a dependency). Not sure why yuo have java 5 on your system, but the folders taht are links dont actually have content (they have the arrows on them), they link to other folders. I dont know what they link to though. – Thomas Ward Jun 20 '12 at 14:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.