After long Research i found the solution.
There are some steps to predefine.
AdminTask.createCluster('[-clusterConfig [-clusterName test_rpc -preferLocal true]]')
clusterConfig is one step.
To define the ClusterConfig the SourceCode looks like:
AdminCommand cmd = cmdMgr.createCommand("createCluster");
//gotoStep
CommandStep step = ((TaskCommand) cmd).gotoStep("clusterConfig");
step.setParameter("clusterName", ClusterName);
step.setParameter("preferLocal", true);
cmd.setConfigSession(session);
cmd.execute();
And now it works perfect!