Tuesday, August 18, 2015

Oracle JRockit installation on Ubuntu- Vagrant box

Hey friends, Here I'm sharing my new experiment installing JRockit JDK on Ubuntu Precise64 vagrant box.

Prerequisites:
  1. Vagrant installed
  2. Oracle VirtualBox
  3. Precise64 vagrant box
This is a disposable model POC. Precise box don't have GUI/X-window support. This could give a scope to install SOA suite 11.1.1.7.0 version.

vagrant@mydev:/u01/app/software/SOA$ cd
vagrant@mydev:~$ /u01/app/software/SOA/jrockit-jdk1.6.0_37-R28.2.5-4.1.0-linux-x64.bin
Extracting 0%....................................................................................................100%
Unable to instantiate GUI, defaulting to console mode.

<------- data-blogger-escaped--------="" data-blogger-escaped--="" data-blogger-escaped-4.1="" data-blogger-escaped-6="" data-blogger-escaped-for="" data-blogger-escaped-installer="" data-blogger-escaped-java="" data-blogger-escaped-jdk="" data-blogger-escaped-jrmc="" data-blogger-escaped-jrockit="" data-blogger-escaped-oracle="" data-blogger-escaped-r28.2.5="" data-blogger-escaped-se="" data-blogger-escaped-with="">

Welcome:
--------

This installer will guide you through the installation of Oracle JRockit JDK R28.2.5 for Java SE 6
with JRMC 4.1. Type "Next" or enter to proceed to the next prompt.  If you want to change data
entered previously, type "Previous".  You may quit the installer at any time by typing "Exit".

Enter [Exit][Next]>

<------- data-blogger-escaped--------="" data-blogger-escaped--="" data-blogger-escaped-4.1="" data-blogger-escaped-6="" data-blogger-escaped-for="" data-blogger-escaped-installer="" data-blogger-escaped-java="" data-blogger-escaped-jdk="" data-blogger-escaped-jrmc="" data-blogger-escaped-jrockit="" data-blogger-escaped-oracle="" data-blogger-escaped-r28.2.5="" data-blogger-escaped-se="" data-blogger-escaped-with="">
Choose Product Installation Directory:
--------------------------------------

    "Product Installation Directory" = [Enter new value or use default
"/home/vagrant/jrockit-jdk1.6.0_37-R28.2.5-4.1.0"]


Enter new Product Installation Directory OR [Exit][Previous][Next]> n

<------- data-blogger-escaped--------="" data-blogger-escaped--="" data-blogger-escaped-4.1="" data-blogger-escaped-6="" data-blogger-escaped-for="" data-blogger-escaped-installer="" data-blogger-escaped-java="" data-blogger-escaped-jdk="" data-blogger-escaped-jrmc="" data-blogger-escaped-jrockit="" data-blogger-escaped-oracle="" data-blogger-escaped-r28.2.5="" data-blogger-escaped-se="" data-blogger-escaped-with="">

Optional Components 1

Do you want to install Demos and Samples?

    1 - Yes, install Demos and Samples.
  ->2 - No, do not install.

Enter a number or [Exit][Previous][Next]>

<------- data-blogger-escaped--------="" data-blogger-escaped--="" data-blogger-escaped-4.1="" data-blogger-escaped-6="" data-blogger-escaped-for="" data-blogger-escaped-installer="" data-blogger-escaped-java="" data-blogger-escaped-jdk="" data-blogger-escaped-jrmc="" data-blogger-escaped-jrockit="" data-blogger-escaped-oracle="" data-blogger-escaped-r28.2.5="" data-blogger-escaped-se="" data-blogger-escaped-with="">

Optional Components 2

Do you want to install Source Code?

    1 - Yes, install Source Code.
  ->2 - No, do not install.

Enter a number or [Exit][Previous][Next]>

<------- data-blogger-escaped--------="" data-blogger-escaped--="" data-blogger-escaped-4.1="" data-blogger-escaped-6="" data-blogger-escaped-for="" data-blogger-escaped-installer="" data-blogger-escaped-java="" data-blogger-escaped-jdk="" data-blogger-escaped-jrmc="" data-blogger-escaped-jrockit="" data-blogger-escaped-oracle="" data-blogger-escaped-r28.2.5="" data-blogger-escaped-se="" data-blogger-escaped-with="">

Installing JDK to /home/vagrant/jrockit-jdk1.6.0_37-R28.2.5-4.1.0...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]

<------- data-blogger-escaped--------="" data-blogger-escaped--="" data-blogger-escaped-4.1="" data-blogger-escaped-6="" data-blogger-escaped-for="" data-blogger-escaped-installer="" data-blogger-escaped-java="" data-blogger-escaped-jdk="" data-blogger-escaped-jrmc="" data-blogger-escaped-jrockit="" data-blogger-escaped-oracle="" data-blogger-escaped-r28.2.5="" data-blogger-escaped-se="" data-blogger-escaped-with="">

Installing JRE to /home/vagrant/jrockit-jdk1.6.0_37-R28.2.5-4.1.0/jre...

0%          25%          50%          75%          100%
[------------|------------|------------|------------]
[***************************************************]

<------- data-blogger-escaped--------="" data-blogger-escaped--="" data-blogger-escaped-4.1="" data-blogger-escaped-6="" data-blogger-escaped-for="" data-blogger-escaped-installer="" data-blogger-escaped-java="" data-blogger-escaped-jdk="" data-blogger-escaped-jrmc="" data-blogger-escaped-jrockit="" data-blogger-escaped-oracle="" data-blogger-escaped-r28.2.5="" data-blogger-escaped-se="" data-blogger-escaped-with="">

Installation Complete

Congratulations! Oracle JRockit JDK R28.2.5 for Java SE 6 with JRMC 4.1 has been successfully installed to /home/vagrant/jrockit-jdk1.6.0_37-R28.2.5-4.1.0.

Press [Enter] to continue or type [Exit]> n

<------- data-blogger-escaped--------="" data-blogger-escaped--="" data-blogger-escaped-4.1="" data-blogger-escaped-6="" data-blogger-escaped-for="" data-blogger-escaped-installer="" data-blogger-escaped-java="" data-blogger-escaped-jdk="" data-blogger-escaped-jrmc="" data-blogger-escaped-jrockit="" data-blogger-escaped-oracle="" data-blogger-escaped-r28.2.5="" data-blogger-escaped-se="" data-blogger-escaped-with="">

Clean up process in progress ...
vagrant@mydev:~$


You need to verify the JDK is accessible or not, fof this update the .bash_profile with the following lines:

clear
echo ''
echo 'Welcome to SOA Suite Administration'
echo '==================================='
echo ''
export JAVA_HOME=/home/vagrant/jrockit-jdk1.6.0_37
export PATH=$PATH:$JAVA_HOME/bin
echo $JAVA_HOME
echo $PATH

Welcome to SOA Suite Administration
===================================

/home/vagrant/jrockit-jdk1.6.0_37
/home/vagrant/jrockit-jdk1.6.0_37/bin
vagrant@mydev:~$ java -version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Oracle JRockit(R) (build R28.2.5-20-152429-1.6.0_37-20120927-1915-linux-x86_64, compiled mode)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.