}
try {
final NSArray nsArray = NSRunningApplication.CLASS.runningApplicationsWithBundleIdentifier(_bundleIdentifier);
final int size = nsArray.count();
for (int i = 0; i < size; i++) {
final NSRunningApplication nsRunningApplication = Rococoa.cast(nsArray.objectAtIndex(i), NSRunningApplication.class);
// This double-check of the bundle identifier is probably unnecessary...
if (_bundleIdentifier.equals(nsRunningApplication.bundleIdentifier())) {
boolean result = nsRunningApplication.activateWithOptions(0);
debugLog.debug("nsRunningApplication.activateWithOptions returned {}", result);