ATG – ACC Doesnt Start with JDK 1.7 (Read about the fix)

By | October 22, 2013

Here is a very practical situation that will likely repeat with a lot of developer machines in below scenarios:

ASSUMPTION

You are working with 10.1.1 or probably previous version of ATG Commerce

ERROR

This version of the ATG Control Center supports following JRE versions only: 1.6.

You are running version 1.7.x_xx.

Please ensure that JAVA_VM is set correctly in your startACC script.

SCENARIOS

  1. You machine was re-imaged and you are setting up the ATG development environment again (and ofcourse, you go with current JDK installation version 1.7)
  2. You already have JDK 1.6 under the Oracle/Middleware folder, but you also have the latest 1.7 installed by your corporate software standards (pushed) and chose to install WLS & ATG using 1.7 in lieu of 1.6

And, now for all valid reasons 1.7 is your JAVA_HOME & probably also your JAVA_VM. Once you are done with ATG installation & configuration and try to access the ACC (ATG Control Center) tool, what you notice is an ERROR as per below screenshot.

ACC Issue

 

 

 

 

 

Of course, the error tells you what is the exact problem. Here is what you need to do to take care of it & get the ACC back up & running.

HOW TO FIX IT?

  1. Make sure you have installed JDK 1.6 or atleast you should have the one that comes pre-installed with your Weblogic server setup
  2. Search for the file StartACC.bat on your Windows Machine or StartACC.sh (maybe case sensitive) on your Unix/Linux setup
  3. Open the file in your favorite text editor (Notepad++ is my fav0rite – color code is what helps)
  4. Find the lines that as marked in below screenshot & replace %ATGJRE% with probably hard-coded path of JDK Version 1.6 java.exe
  5. E.g. C:\Oracle\Middleware\jdk160_24\bin\java.exe

ACC Fix

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

And, this should take care of the ACC not starting with above error.