Bug 561967 - [Tests] 3 tests failing on cen64-gtk3 since I20200406-0350

Change-Id: I8abfb4e2f83a70ab6af2cae1e81014c76296a150
diff --git a/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/core/ProcessTests.java b/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/core/ProcessTests.java
index 0618ccf..f916598 100644
--- a/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/core/ProcessTests.java
+++ b/org.eclipse.jdt.debug.tests/tests/org/eclipse/jdt/debug/tests/core/ProcessTests.java
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2019 IBM Corporation and others.
+ * Copyright (c) 2000, 2020 IBM Corporation and others.
  *
  * This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License 2.0
@@ -13,6 +13,9 @@
  *******************************************************************************/
 package org.eclipse.jdt.debug.tests.core;
 
+import java.io.File;
+
+import org.eclipse.core.runtime.Platform;
 import org.eclipse.debug.core.DebugException;
 import org.eclipse.debug.core.DebugPlugin;
 import org.eclipse.debug.core.ILaunchManager;
@@ -64,7 +67,13 @@
 	 * @throws Exception
 	 */
 	public void testAlreadyTerminatedProcess() throws Exception {
-		Process process = DebugPlugin.exec(new String[]{"java"}, null);
+		Process process;
+		if (Platform.getOS().equals(Platform.OS_LINUX)) {
+			process = DebugPlugin.exec(new String[] { "java" }, new File("/tmp"));
+		} else {
+			process = DebugPlugin.exec(new String[] { "java" }, null);
+		}
+
 		boolean terminated = false;
 		int value = -1;
 		while (!terminated) {