1 Reply Latest reply: Nov 11, 2009 5:53 AM by PhHein RSS

    Why 2 versions of java on my solaris 9 box?

    843804
      It appears I have 2 version of java on unix box. One for my server and the other for JDK:
      ps -ef | grep -i java
      root 1067 1 0 Nov 05 ? 7:51 /usr/java/bin/java -server -Xmx128m -XX:+UseParallelGC -XX:ParallelGCThreads=4
      prodslic 1752 1 22 Nov 05 ? 8917:35 /usr/jdk/instances/jdk1.6.0/bin/java -Djava.util.logging.config.file=/rsm03/pro
      bh80477 7841 16158 0 14:02:14 pts/7 0:00 grep -i java
      /usr/java/bin/java -version
      java version "1.5.0_18"
      Java(TM) Platform, Standard Edition for Business (build 1.5.0_18-b02)
      Java HotSpot(TM) Server VM (build 1.5.0_18-b02, mixed mode)
      /usr/jdk/instances/jdk1.6.0/bin/java -version
      java version "1.6.0_14"
      Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
      Java HotSpot(TM) Server VM (build 14.0-b16, mixed mode)

      Is this ok or will ultimately cause issues?

      Oh, there are 4 processors on the workstation.
      psrinfo | grep on-line
      0 on-line since 11/05/2009 21:34:04
      1 on-line since 11/05/2009 21:34:04
      2 on-line since 11/05/2009 21:34:04
      3 on-line since 11/05/2009 21:34:02

      Every thursday evening we restart the java -server because it reaches very high CPU times and slows down the box

      Please help.

      Edited by: BH80477 on Nov 10, 2009 12:10 PM