The reason is long and boring, but I need to run an Ant script to compile Java 1.5 code from a Java 1.4 app. I keep getting this error, though:
BUILD FAILED
Shouldn't the backslashes be doubled?
p.setProperty("java.home", "C:\\Program Files\\Java\\jdk1.6.0_04");