diff --git a/end-to-end-tests/src/test/java/fi/jumi/test/RunningTestsTest.java b/end-to-end-tests/src/test/java/fi/jumi/test/RunningTestsTest.java
index <HASH>..<HASH> 100755
--- a/end-to-end-tests/src/test/java/fi/jumi/test/RunningTestsTest.java
+++ b/end-to-end-tests/src/test/java/fi/jumi/test/RunningTestsTest.java
@@ -30,9 +30,8 @@ public class RunningTestsTest {
         printProcessOutput(launcher);
         launcher.setJumiHome(sandboxDir);
 
-        // TODO: is adding to classpath really required, or will it happend automatically?
         String threadSafetyAgent = TestEnvironment.getProjectJar("thread-safety-agent").getAbsolutePath();
-        launcher.setJvmOptions("-javaagent:" + threadSafetyAgent, "-cp", threadSafetyAgent);
+        launcher.setJvmOptions("-javaagent:" + threadSafetyAgent);
     }
 
     @Before
It's not necessary to add Java agents to classpath