Upgrading to JDK 1.8

Beginning with the April 2015 release, m-Power supports JDK 1.8. mrc support recommends that you upgrade to JDK 1.8 as soon as possible as future m-Power releases will require you to be running JDK 1.8 or later. This change is required as previous versions of JDK have reached an "End of Life" notice from their author. In addition, the latest version of the JDK supports new functionality that will assist future development efforts to improve m-Power.

Customers who utilize the m-Power Update.exe package will be prompted to upgrade to JDK 1.8. If they accept, all necessary upgrades will be performed automatically. Be sure to apply this executable to all m-Power installations.

Users who prefer to do the conversion process manually, please follow the following steps:

  1. Be sure you are running the April 2015 version of m-Power (or later)
  2. Download the JDK 1.8 binaries from this location. (64-bit only)
  3. Run the JDK installer.
  4. Go into a Command window and navigate to /m-power/tomcat/bin
  5. Edit each of your Tomcat services. For example, a standard Tomcat 7 development instance would be invoked via: tomcat7w //ES//TC7DEV
  6. tomcat_es

  7. Switch to the Java tab and edit the path to Java Virtual machine. Be sure the path points to the JDK 1.8 folder (for instance, C:\Program Files\Java\jdk1.8.0_40\jre\bin\server\jvm.dll)
  8. java_virtual_machine

  9. After changing all Tomcat instances, right-click "My computer" and go to "Properties". Click Advanced and go to Environmental Variables. Under System Variables, edit the path, replacing the path of JDK 1.6 (;C:\Program Files\Java\jdk1.6.0_25\bin) to the 1.8 equivalent (;C:\Program Files\Java\jdk1.8.0_40\bin).
  10. environmental variables

  11. Open Windows explorer and navigate to \Java\JDK1.8.0_40\lib and copy the tools.jar file to your \m-power\tomcat\lib folder. Please overwrite the existing file.
  12. Navigate to \m-Power\proddata\lib and copy the ecj* file to \m-power\tomcat\lib. Delete the ecj-3.7.2.jar file
  13. Restart the server

For non-Windows installations, please do the following:

  1. Be sure you are running the April 2015 version of m-Power (or later)
  2. Download and install JDK 1.8 via your operating system.
  3. Modify the Java Path found in the process that invokes Tomcat (either a .sh script or a Linux service) to reflect the new JDK location.
  4. Navigate to \Java\JDK1.8.0_40\lib and copy the tools.jar file to your \m-power\tomcat\lib folder. Please overwrite the existing file.
  5. Navigate to \m-Power\proddata\lib and copy the ecj* file to \m-power\tomcat\lib. Delete the ecj-3.7.2.jar file
  6. Restart Tomcat

Note:

  • As of April 2015, mrc technical support will no longer support m-Power installations on 32-bit architecture. If you are currently utilizing this architecture, please consider upgrading to 64-bit. This architecture, while fully supported, allows you to make better use of available system memory.

Created: April 23, 2015 | Modified: November 12, 2015