- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- java in HP UX
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 02:48 AM
тАО06-30-2008 02:48 AM
I'm cleaning up the disk spaces in our HP UX, and saw 2 Java folder which are java1.2 and java1.3 in /opt.
I was wondering, can I delete one of them ?
2001 java1.2
2006 java1.3
thanks !!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 03:02 AM
тАО06-30-2008 03:02 AM
Solutionfind /apps -exec grep -l "java1.2" {} \;
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 03:03 AM
тАО06-30-2008 03:03 AM
Re: java in HP UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 03:37 AM
тАО06-30-2008 03:37 AM
Re: java in HP UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 03:52 AM
тАО06-30-2008 03:52 AM
Re: java in HP UX
use.
Something like
find /opt/java1.4 -type f -atime -30
would show you the files that have been accessed in the last 30 days. To find out when they were accessed use
find /opt/java1.4 -type f -atime -30 -exec ll -u {} \;
Also think about what is running on the server. Is it likely that any of the products would use java? And keep in mind that most add-on apps and databases (including HP-UX bundled products) supply their own java and rarely depend on the OS one.
If you decide that these two are not being use, do not just delete them, use swremove to remove them. But do download and install a recent java version before you delete any of the old ones.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 04:06 AM
тАО06-30-2008 04:06 AM
Re: java in HP UX
thanks !!
when i run the command you gave me..
it return nothing...like
hpux:/opt>find java1.2 -type f -atime -30
hpux:/opt>find java1.3 -type f -atime -30
is does mean they not been used ? and i can safely swremove them ?
thanks again !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 10:15 AM
тАО06-30-2008 10:15 AM
Re: java in HP UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 04:17 PM
тАО06-30-2008 04:17 PM
Re: java in HP UX
Now if no one on your system is writing and Java programs, and you're not running a web server (ie, Apache), then you can try using swremove to remove all the code.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2008 11:03 PM
тАО06-30-2008 11:03 PM
Re: java in HP UX
you can't delete any of them, if there are several tools on the system that need java, and they need different versions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2008 10:28 AM
тАО07-03-2008 10:28 AM