Reputation: 718
A few days I trying start my java application bundle on Mac. I have learned many articles, tutorials and discussions, but I don't understand if there exist any way to use java from bundle (Java is not installed on OS). I want put different versions of java inside my application bundle. How tell to application loader use jre from my app bundle?
Upvotes: 3
Views: 2786
Reputation: 535
Unfortunately you can't use linux jre, which copied after appbundler ant task performed, on MacOS. Here is the best article about deploying applications as bundles on MacOS.
Upvotes: 1
Reputation: 6307
Oracle provides the best answer for this, see here for instructions: http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/packagingAppsForMac.html
Take a look at these other questions / answers for more info:
Bundling a private JRE on Mac OS X
Upvotes: 0