Unable to execute the command 'javac -classpath in ATG Server console

This happened when i tried to invoke runAssembler to create and deploy ATG application modules from eclipse IDE.


It was due to the 'bin' folder where the javac executables of JDK is shipped with, is not added to the PATH variable.I still dont know why this is happening from eclipse IDE.
 
The detailed exception is: java.io.IOException: Cannot run program "javac": CreateProcess error=2,atg.servlet.pagecompile.PageCompileException:

Fix

Its a simple fix,i have added 'bin' directory of my JDK(C:\Program Files (x86)\Java\jdk1.6.0_29\bin) in the Path Variable(Path variable can be accessed by right click myComputer-Properties-Advanced system settings-Environment Variables-System variables).

0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...