Deployment
David DeHaven
david.dehaven at oracle.com
Tue Mar 31 21:52:39 UTC 2015
> Since I do most of my testing with one particular application of my own. I was trying to figure out how to embed Java 9 JRE or JDK into a copy of the application.
> I haven’t done that much with embedding. It seemed to indicate different files missing. I was thinking this was because the directory structure I was copying into Plugins wasn’t starting at the right place.
> I started wondering if the JavaAppLauncher code as is would even work with the current Java 9 JRE/JDK?
> I was then thinking that I’d launch some other way. Maybe make the application launch executable a bash script. I might loose AppleEvents that way though and the app just might have launch dependencies on running some AppleScript’s. It has become OS X’ified over time since I last tried doing anything with it on Windows.
>
> Do you know should JavaAppLauncher work with the Java 9 builds?
Yes, it should since it uses JLI (libjli.dylib) to start the vm. At least, I'm not aware of any problems with it. The same code should work with any reasonable version of JLI (JDK 7+).
-DrD-
More information about the macosx-port-dev
mailing list