my problem is with JAVA_HOME variable. When i echo it inside cmd, it points to jdk as it should, when i echo it from powershell, it points to jre7 and when i echo it with php script from web it points jre6. I have tried to set it with set JAVA_HOME and set-variable JAVA_HOME from both the powershell and php script which i called from web and neither did work. Does anybody have some idea how could i fix this? thanks
Share
I didn’t actually solve the problem, I just cured the symptoms. I have edited the ant.bat. Just added the line: set JAVA_HOME=path\to\jdk at the start of the file