Use the getJavaPID and getScreenPid methods instead of the getProcessIDs method