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

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -