Agent start command consists of the following: For Oracle's reference implementation the command to start a passive agent can look like the following:
java -cp @{testsuite}/classes:@{testsuite}/lib/javatest.jar:@{testsuite}/lib/jtjck.jar -Djava.security.policy=@{testsuite}/lib/jck.policy -Djavatest.security.allowPropertiesAccess=true com.sun.javatest.agent.AgentMain -passivePort @{port}
The following pattern will be substituted with a real value: Correct the path to the reference Java in the default answer above manually if needed.