Upgrading to JDK 1.6 for Windows
For your convenience, m-Power ships with JDK 1.4. However, to take advantage of new functionality, you will need to upgrade to JDK 1.6.
To determine what level of JDK you are running (if unsure), please open the m-Power interface and navigate to the Admin section. From here, please click the “Version & Software Update” button. Your current JDK level will be displayed below:

To begin:
- Download JDK 1.6 from here to your m-Power server.
- Install the JDK by double clicking on it. Advance through the screens until you have finished.
- Congratulations, JDK 1.6 has now been installed on your system. You can verify this by going to Start –> Run and type in CMD. In the DOS windows, type:
java --version
You should see a screen that looks like this:

Notice that the Java version is showing 1.6.0
Now that JDK 1.6 is installed, we need to tell m-Power about it.
- First, let’s modify the Tomcat batch file. Navigate to c:\m-power and edit the “start_tomcat.bat” file.
- Replace this line:
set JAVA_HOME=C:/j2sdk1.4.2with this line:set JAVA_HOME=C:/Program Files/Java/jdk1.6.0_07 - Next, Windows needs to be instructed that it should use JDK 1.6
- Right-click on My Computer, and go to Properties.
- Under the advanced tab, click the “Environmental Variables” button
- Under “System Variables” find “PATH” and click “Edit”.
- Append the following text to the end of the “Variable value” section:
;C:\Program Files\Java\jdk1.6.0_07\binNote: If;c:\j2sdk1.4.2\binalready exists in the PATH, please remove it. - Click OK three times to close the Properties windows. After making this change to the PATH you will need to restart your server.
- Copy tools.jar from C:\Program Files\Java\jdk1.6.0_07\lib to c:\m-power\tomcat\lib. Please overwrite the existing file in c:\m-power\tomcat\lib.
- Lastly, we will need to modify your Tomcat Service Startup Logic
- Go to Start –> Run & type
CMD - From here type:
cd\ - Then, type:
cd m-power\tomcat\bin - Lastly, type:
tomcat6w - Click the Java tab.
- Change the Java Virtual Path to:
C:\Program Files\Java\jdk1.6.0_07\jre\bin\server\jvm.dll- Click OK.
- Go to Start –> Run & type
- Then Stop & Start the service for the changes to take effect.
Congratulations! You have successfully setup JDK 1.6 for Windows.
Note: Be sure to upgrade your production instance, if applicable, to JDK 1.6 as well.