0
votes

When trying to deploy my application to the Google App Engine server I get the following error:

Cannot get the System Java Compiler. Please use a JDK, not a JRE.

All solutions I've seen for this involve editing an eclipse configuration file, but I'm not using eclipse. I'm executing appcfg.cmd from the dos prompt.

I have a jdk installed and my JAVA_HOME is pointing to it: c:\program files\java\jdk1.7.0_45

2

2 Answers

0
votes

Few points:

  • Could you check if the JAVA_HOME\bin folder is in the PATH environment variable. If not put that and make sure that it is pointing to the correct version.
  • Also check java -version on your machine after setting it.
0
votes

I think you need to add the bin folder as the sub-directory please give it a try

c:\program files\java\jdk1.7.0_45\bin