Re: How to find the JRE version used by the processes?

Discussion in 'Java' started by Larry Barowski, Nov 2, 2004.

  1. "qazmlp" <> wrote in message
    news:...
    > My application which is running on a Solaris machine, constitutes of
    > lot of Java processes. I know that some of that processes run within
    > Java 1.2 environment and other processes run within JRE1.4.
    >
    > Is there a way to find out what processes use JRE1.2/JRE1.4 (without
    > changing the code)?


    Starting with Java 1.4.0 or so, this information is at the top of the
    thread dump. Send each process a kill -QUIT . The ones with no
    version number in the output will be 1.2. You could easily write
    a Perl script or something to automate that.
     
    Larry Barowski, Nov 2, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. nospawn
    Replies:
    2
    Views:
    518
    Real Gagnon
    Apr 25, 2006
  2. Prasoon
    Replies:
    1
    Views:
    471
    Andrew Thompson
    Apr 13, 2007
  3. V Green
    Replies:
    0
    Views:
    862
    V Green
    Feb 5, 2008
  4. PA Bear [MS MVP]
    Replies:
    0
    Views:
    972
    PA Bear [MS MVP]
    Feb 5, 2008
  5. Krist
    Replies:
    4
    Views:
    621
    Arne Vajhøj
    May 6, 2010
Loading...

Share This Page