/** * Sets a particular JVM to be used. Default is 'java' and is solved * by <code>Runtime.exec()</code>. * * @param jvm the new jvm */ public void setJvm(String jvm) { getJavaCommand().setVm(jvm); }
/** * Constructor uses the VM we are running on now. */ public CommandlineJava() { setVm(JavaEnvUtils.getJreExecutable("java")); setVmversion(JavaEnvUtils.getJavaVersion()); }
/** * Constructor */ public JJDoc() { cmdl.setVm(JavaEnvUtils.getJreExecutable("java")); }
/** * Constructor */ public JJTree() { cmdl.setVm(JavaEnvUtils.getJreExecutable("java")); }
/** * Set the command used to start the VM (only if forking). * * @param s command to start the VM. */ public void setJvm(String s) { getCommandLine().setVm(s); }
/** * Constructor */ public JavaCC() { cmdl.setVm(JavaEnvUtils.getJreExecutable("java")); }
/** * Sets a particular JVM to be used. Default is 'java' and is solved by <code>Runtime.exec() * </code>. * * @param jvm the new jvm */ public void setJvm(String jvm) { getJavaCommand().setVm(jvm); }
/** * The command used to invoke the Java Virtual Machine, default is 'java'. The * command is resolved by java.lang.Runtime.exec(). */ public void setJvm(String jvm) { if (!Strings.isNullOrEmpty(jvm)) { getCommandline().setVm(jvm); } }
/** * The command used to invoke the Java Virtual Machine, * default is 'java'. The command is resolved by * java.lang.Runtime.exec(). Ignored if fork is disabled. * * @param value the new VM to use instead of <tt>java</tt> * @see #setFork(boolean) * * @since Ant 1.2 */ public void setJvm(final String value) { getCommandline().setVm(value); }
/** * The command used to invoke the Java Virtual Machine, default is 'java'. The * command is resolved by java.lang.Runtime.exec(). */ public void setJvm(String jvm) { if (!Strings.isNullOrEmpty(jvm)) { getCommandline().setVm(jvm); } }