It's not a secret anymore!
The moose likes Linux / UNIX and the fly likes un-install java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "un-install java " Watch "un-install java " New topic

un-install java

Siva kandasamy
Ranch Hand

Joined: Dec 31, 2002
Posts: 139
Hi there,
How do we un-install java in unix.
or What is the best way to un-install java in unix.
Ben Baker

Joined: May 13, 2004
Posts: 5
execute the in your java bin directory....

I think this is the quickest way to uninstall java.
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
Moving this to the Linux / UNIX forum...

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

The right answer depends on how it was installed in the first place; on an RPM-based system, running "rpm -e j2sdk-1.4.2" might be the right thing; on another system, there may be a different package manager, and you may need to use that. On still other systems, the JDK may have been installed using Sun's default installer, which basically just dumps the files wherever you ask it to (often something like /usr/java/j2sdk1.4.2) and a simple "rm -rf" works great. But without knowing more about the system, we can't really tell you what to do.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: un-install java
It's not a secret anymore!