Can I specify which java installation on the system should be used to run the java task? if so, how?
in my case, I want to indicate whether I want to run the 32-bit or 64-bit version.
thank!
I believe this is jvmthe <java>Ant task attribute .
jvm
<java>
jvm - the command used to invoke the Java virtual machine, by default - "java". Command allowed by java.lang.Runtime.exec (). Ignored if fork is disabled.
From http://ant.apache.org/manual/Tasks/java.html
fork javac JDK ;
javac fork = "yes". Java, Ant. , fork = "no". Ant 1.6, jikes, jvc, gcj sj.
JAVACMD (. )
JAVACMD
<java> JVM, <exec> java , .
<exec>
java
Source: https://habr.com/ru/post/1748996/More articles:What corresponds to the Cron expression for fire for every X seconds, where X> 60? - javaHow to run server methods using jQuery - performanceПочему GIT сообщает "фатальный: эта операция должна выполняться в дереве работ" при экспорте из голого репо? - gitAccess google maps in android emulator - javaUsers in a database or database tables - database-designC # Move cursor to RichTextBox with right mouse button - c #Static web project in Visual Web Developer Express - javascriptIf I wanted to write my own setter method corresponding to KVO, would it look something like this? - iphonemutation, trigger / function may not see it - error during trigger start - sqlKVO difference between willChangeValueForKey and didChangeValueForKey - are both necessary? - callbackAll Articles