3 Replies Latest reply on Aug 22, 2012 12:00 AM by fmsilva2

    Oracle Linux with jrockit

      Hello !

      My OL6 machine have by default openjdk, since jrockit is available ....

      It's possible to replace openjdk with jrockit ?

      thanks all !

        • 1. Re: Oracle Linux with jrockit
          Whether it is recommended is a question I cannot answer, but you can install an additional version of java and set it as default:

          You can download Oracle jrockit from:

          According to the documentation Fusion Middleware products are certified with Oracle UEK kernel:

          For instance:

          chmod u+x jrockit-jdk1.6.0_33-R28.2.4-4.1.0-linux-x64.bin
          mkdir -p /usr/local/lib/jvm

          Specify /usr/local/lib/jvm/jrockit-jdk1.6.0_33-R28.2.4-4.1.0 as installation directory

          To use jrockit as your your default java:

          ln -s /usr/local/lib/jvm/jrockit-jdk1.6.0_33-R28.2.4-4.1.0 \
          alternatives --install /usr/bin/java java \
          /usr/local/lib/jvm/jrockit-jdk1.6.0_33/bin/java 2
          alternatives --config java

          Select 2 when prompted.

          java -version
          java version "1.6.0_33"
          Java(TM) SE Runtime Environment (build 1.6.0_33-b03)
          Oracle JRockit(R) (build R28.2.4-14-151097-1.6.0_33-20120618-1634-linux-x86_64, compiled mode)

          To be able to test applets.html in the jrockit demo directory you will need to install the java plugin for Firefox:

          yum install firefox
          mkdir -p ~/.mozilla/plugins
          cd ~/.mozilla/plugins
          ln -sf /usr/local/lib/jvm/jrockit-jdk1.6.0_33/jre/lib/amd64/libnpjp2.so .

          But according to my experience Firefox will crash.

          Edited by: Dude on Aug 21, 2012 8:59 AM
          1 person found this helpful
          • 2. Re: Oracle Linux with jrockit
            thank you !

            that's what i'm looking for .... :)
            • 3. Re: Oracle Linux with jrockit

              best and simple option so far ....

              1 - install jrockit
              2 - alternatives --install /usr/bin/java java /usr/jrockitR28.2.4/bin/java 2
              3 - alternatives --config java

              thanks again Dude ! you give me path