Uninstall Java Desktop System?
Hi,
when browsing the docs (docs.sun.com, search for java desktop system), I've a tough time in finding how to unistall the java desktop system. Also, using the prodreg package manager, I only find some GNOME packages, but nothing about jds.
Can jds be removed (while preserving the CDE/KDE desktop managers)? If so, how?
Thanks in advance!
Cheers, Peter.
[394 byte] By [
niessepe] at [2007-11-25 22:27:40]

# 1
There's no 'official' method of uninstalling JDS that I know of.
You can get a list of all JDS packages using this command:
pkginfo -c JDS3 | awk '{print $2}'
Note that this list includes all packages delivered by the JDS team,
including things like Python, libpng and mozilla.
To uninstall all packages, you can feed that list into pkgrm (as root):
sed -e 's/ask/nocheck/' /var/sadm/install/admin/default > /tmp/admin
pkginfo -c JDS3 | awk '{print $2}' | xargs -n1 pkgrm -a /tmp/admin -n
rm /tmp/admin
This will uninstall all JDS packages without asking.
Or almost all... it won't uninstall StarOffice, to uninstall that too, run
pkgrm SUNWsogm
pkgrm SUNWsom
laca at 2007-7-5 2:35:37 >
