Java versions running (312 Views)
Reply
Highlighted
Advisor
Posts: 30
Registered: ‎03-04-2014
Message 1 of 5 (312 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
Posts: 13,903
Registered: ‎06-21-2000
Message 2 of 5 (299 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
Posts: 26,027
Registered: ‎03-06-2006
Message 3 of 5 (296 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

Advisor
Posts: 30
Registered: ‎03-04-2014
Message 4 of 5 (291 Views)

Re: Java versions running

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

 

Acclaimed Contributor
Posts: 26,027
Registered: ‎03-06-2006
Message 5 of 5 (285 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.