QueueMetrics > QueueMetrics installation

Running QueueMetrics with OpenJDK 7

(1/1)

QueueMetrics:
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: ---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
--- End code ---

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:
You can also easily choose which Java SDK is good for you; see


--- Code: ---[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:

--- End code ---

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

Navigation

[0] Message Index

Go to full version