On Windows System.getProperty("java.home") may point to Public JRE
location, not JDK location. Simple compiler extracts JAVA_HOME from
"java.home" property
com.google.devtools.simple.compiler.Compiler:68:
private static final String JAVA_HOME = System.getProperty("java.home");
and can't find jarsigner.exe, because it is in JDK, not JRE.
So, JAVA_HOME should be extracted from environment variable as ANDROID_HOME
and SIMPLE_HOME:
private static final String JAVA_HOME = System.getenv("JAVA_HOME");
Original issue reported on code.google.com by demakov@gmail.com on 29 Jul 2009 at 6:55
Original issue reported on code.google.com by
demakov@gmail.com
on 29 Jul 2009 at 6:55