Computing.Net > Forums > Unix > shell script to uninstall java

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

shell script to uninstall java

Reply to Message Icon

Original Message
Name: MMukesh
Date: February 12, 2004 at 11:48:12 Pacific
Subject: shell script to uninstall java
OS: AIX
CPU/Ram: Pentium III
Comment:

Does anyone know how to uninstall java software on AIX or HP-UX box by using korn shell script?

Thanks in advance


Report Offensive Message For Removal


Response Number 1
Name: thepubba
Date: February 12, 2004 at 16:02:26 Pacific
Reply: (edit)

On AIX, you would use installp or RPM, depending on the system. Try:

man installp

installp -u Java14.sdk

This command would remove the Java14.sdk fileset. There may be other flags needed, since I'm not about to test the command on any of my systems.



Report Offensive Follow Up For Removal

Response Number 2
Name: fpmurphy
Date: February 13, 2004 at 07:52:22 Pacific
Reply: (edit)

For HP-UX you would use swremove(1)

In general it is bad practice to install
packages using a method other than the
standard package management utilities
provided with the OS.

-F


Report Offensive Follow Up For Removal

Response Number 3
Name: MMukesh
Date: February 13, 2004 at 08:46:37 Pacific
Reply: (edit)

Thanks Jerry and Finnbarr. I have both AIX and HP-UX system to work on.

Does anyone know how to uninstall java software on AIX or HP-UX box by using korn shell script?

Thanks in advance



Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Unix Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge
Poll History




Data Recovery Software