if ( fork ) {
final String separator = System.getProperty ( "file.separator" ) ;
final Path classpath = getClasspath ( ) != null ? getClasspath ( ) : new Path ( getProject ( ) ) ;
if ( includeAntRuntime ) { classpath.addExisting ( ( new Path ( getProject ( ) ) ).concatSystemClasspath ( "last" ) ) ; }
if ( includeJavaRuntime ) { classpath.addJavaRuntime ( ) ; }
final ArrayList commandLineList = new ArrayList ( ) ;
commandLineList.add ( System.getProperty ( "java.home" ) + separator + "bin" + separator + "java" ) ;
commandLineList.add ( "-classpath" ) ;
commandLineList.add ( classpath.toString ( ) ) ;
if ( ( memoryInitialSize != null ) && ! memoryInitialSize.equals ( "" ) ) { commandLineList.add ( "-Xms" + memoryInitialSize) ; }