Author Topic: Running QueueMetrics with OpenJDK 7  (Read 2169 times)

QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Running QueueMetrics with OpenJDK 7
« on: June 18, 2013, 12:20:19 »
If you want to try running QueueMetrics with OpenJDK 7 (that is now a mature-enough project to be considered for inclusion) you can run the following commands:

Code: [Select]
yum install java-1.7.0-openjdk-devel
update-alternatives --auto java

cd /usr/local/queuemetrics/
mv java/ java_local
ln -s /etc/alternatives/java_sdk java

/etc/init.d/queuemetrics restart

We are looking for your comments, in terms of performance and stability. The OpenJDK project has come a long way from its beginnings and should now be consider a valid alternative to Oracle's own - see https://blogs.oracle.com/henrik/entry/moving_to_openjdk_as_the



QueueMetrics

  • Loway
  • Hero Member
  • *
  • Posts: 2999
  • Karma: 39
    • View Profile
    • QueueMetrics
Re: Running QueueMetrics with OpenJDK 7
« Reply #1 on: June 18, 2013, 14:01:00 »
You can also easily choose which Java SDK is good for you; see

Code: [Select]
[root@mysys java]# update-alternatives --config java

There are 4 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
   1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
 + 2           /usr/local/queuemetrics/jdk1.5.0_11/bin/java
   3           /usr/lib/jvm/jre-1.6.0-openjdk/bin/java
*  4           /usr/lib/jvm/jre-1.7.0-openjdk/bin/java

Enter to keep the current selection[+], or type selection number:

So you can easily go back to the default JDK if you need to.