Here is a very practical situation that will likely repeat with a lot of developer machines in below scenarios:
You are working with 10.1.1 or probably previous version of ATG Commerce
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.
- 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)
- 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.
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?
- Make sure you have installed JDK 1.6 or atleast you should have the one that comes pre-installed with your Weblogic server setup
- Search for the file StartACC.bat on your Windows Machine or StartACC.sh (maybe case sensitive) on your Unix/Linux setup
- Open the file in your favorite text editor (Notepad++ is my fav0rite – color code is what helps)
- Find the lines that as marked in below screenshot & replace %ATGJRE% with probably hard-coded path of JDK Version 1.6 java.exe
- E.g. C:\Oracle\Middleware\jdk160_24\bin\java.exe
And, this should take care of the ACC not starting with above error.