Has anyone else found that Preview does not open automatically in Java 7 when using the file open statement.
application.executeProgram('open', _tempFile);
This appears to be a java 7 issues as it works in Mavericks on an old machine with Java 6, but not on new macs.
I get the error:
23/12/2013 10:37:31.540 Preview[696]: No Info.plist file in application bundle or no NSPrincipalClass in the Info.plist file, exiting
23/12/2013 10:37:31.542 com.apple.launchd.peruser.502[149]: (com.apple.Preview.4256[696]) Exited with code: 1
It works fine if preview is already running!
Any tips on how to sort it, as its better for clients not to tell them they must have preview running.
David