Java Ant task uses wrong interpreter (java.exe instead of javaw.exe) -
i'd switch ant build use javaw.exe instead of java.exe. managed setting _javacmd environment variable.
however when java task invoked fork = "true" java.exe launched anyway (i checked - there no explicit specifications in build file).
i have tried update ant.bat replacing java.exe javaw.exe, didn't either.
java 1.7.0.4 x64 windows 7 x64
you can use jvm attribute of java ant task specify jvm use.
<java jvm="javaw.exe" fork="true" ... > ... </java>
Comments
Post a Comment