Removing Java ?

Peter Ulrich Kruppa root at pukruppa.de
Fri Dec 12 19:37:23 PST 2003


On Sat, 13 Dec 2003, Richard Shea wrote:

> Hi - I've got a problem installing the JDK on FreeBSD 4.8 (see
> "/usr/ports/java/jdk13 - make all dumps - any suggestions ?" previous
> post for details) and as I don't know how to fix I was thinking that I
> might completely uninstall all Java related stuff and start again.
>
> So far I have obtained the Linux JDK, the sources for the JDK and the
> FreeBSD patchset for the JDK and done a 'make install'. In fact I've done
> a make install several times as the process fell over because certain
> dependencies weren't met and so I fixed those and restarted. I've now got
> to a point in the make where it just says 'illegal instruction'.
>
> So my question is what's the best way to clean every trace of Java from
> the box so I can start again and (maybe) get further this time ?
(I don't know if this is the _best_ way)
You can
# cd /var/db/pkg
# ls
will give you a list of all packages installed via ports,
sysinstall or pkg_add .
You can remove them by
# pkg_delete package_name
Also have a look at
# man pkg_delete
for force and recursive options.

Good Luck,

Uli.
>
> thanks
>
> richard shea.
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>

	+---------------------------+
	|    Peter Ulrich Kruppa    |
        |         Wuppertal         |
        |          Germany          |
        +---------------------------+


More information about the freebsd-questions mailing list