Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to pack jre into java app bundle?

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?

like image 751
alnasfire Avatar asked May 21 '26 02:05

alnasfire


1 Answers

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.

like image 109
slawter Avatar answered May 22 '26 16:05

slawter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!