Java versions running (243 Views)
Reply
Occasional Advisor
harshman1958
Posts: 23
Registered: ‎03-04-2014
Message 1 of 5 (243 Views)

Java versions running

Running HPUX 11.31 on Blade servers,...  Is there a way to tell what java versions installed are actually in use?  We have versions 5,6 and 7 installed and need to remove those not used for vulerability issues.

 

Thanks

 

Honored Contributor
Patrick Wallek
Posts: 13,786
Registered: ‎06-21-2000
Message 2 of 5 (230 Views)

Re: Java versions running

I know of no easy way to find what you may be running other than by running the occasional 'ps -ef' or 'lsof' command and look for the specific java directories in the output.

Acclaimed Contributor
Dennis Handly
Posts: 25,274
Registered: ‎03-06-2006
Message 3 of 5 (227 Views)

Re: Java versions running

>Is there a way to tell what java versions installed are actually in use?

 

If you know where they are, you could look at the last access date, which will give an approximation of "use":

ll -u

Occasional Advisor
harshman1958
Posts: 23
Registered: ‎03-04-2014
Message 4 of 5 (222 Views)

Re: Java versions running

that may be useful,  Which bin programs should i be most concerned with?  thanks

 

Acclaimed Contributor
Dennis Handly
Posts: 25,274
Registered: ‎03-06-2006
Message 5 of 5 (216 Views)

Re: Java versions running

>Which bin programs should I be most concerned with?

 

Well start with ones named java.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.