Wednesday, January 2, 2013

Installing Cordys BOP4.1 & BOP4.2 both in One Machine


Overview:

As BOP4.2 is released many of us would like to install both the versions simultaneously on a single machine. The problem is BOP4.2 runs on Java7 while BOP4.1 runs on Java6, and at a single point of time only one JRE has to be defaulted. (Although we can install both the JDK/JRE in any machine simultaneously). This writeup will enable you to run either BOP4.2 or BOP4.1 at any point of time, you still cannot run both the versions simultaneously.

Steps to Install:

Assuming BOP4.1 is already installed on the machine with Java6, I will proceed with installation of BOP4.2 and related components the next steps.
1. Stop All the existing cordys services in your machine.
2. Download Java7 (32 or 64 bit as per your machine)
3. Install the same (do not choose to upgrade the existing java installation instead install in a different folder). The java control panel should look something like this




As soon as you install Java7 in your machine there will be some registry entries made, screenshot is given below:



The current version attribute of "Java Development Kit" and "Java Runtime Environment" will be changed to 1.7 instead of 1.6. (And ofcourse your Cordys BOP4.1 will stop running :-) )
Let it be like this and dont change anything here.


4. Download and install BOP4.2 (take care of 32bit or 64 bit) in your machine. [I hope no other issue comes in the installation and it is perfectly smooth (which is least likely :-) )](A restart of the machine is preferable after you do this)

At this point of time your BOP4.2 will be running perfectly fine but BOP4.1 will stop running.
Now to run BOP4.1 again all you've to do is to change the "Current Version" attribut of "Java Development Kit" and "Java Runtime Environment" to 1.6 again and start the BOP4.1 services from windows services console. 

No comments: