I'm the long-term developer of Jape, a proof editor for formal logics. For a long time I distributed Jape and required users to download a JRE. Recently I decided to switch to including a minimal JRE in my application, prompted by the notion of 'hardening' the distribution. It's working well, for the most part.
The application code hasn't changed significantly; the application has a CFBundle ... entry, that hasn't changed, which allows dropping files on the application.
When I run the old version of the app, using an external java, and drag a file onto the dock icon, I get a fileOpen event (which is what I want).
When I run the new version, using the internal jre, the app relaunches when I drag a file; the Console window talks about PersistentAppsSupport, saveLogoutPersistentState, and appShouldBeRelaunched; and neither version of the app gets a fileOpen event.
I haven't, so far as I'm aware, done anything to do with persistent app support. I've searched the online documentation for these terms and it doesn't seem to be helpful.
Help? (including 'you are asking in the wrong forum' messages)