11/19/2022 1:03 PM | |
Joined: 2/6/2022 Last visit: 12/6/2023 Posts: 16 Rating:
|
Doing more research tells me. The recommended way to distribute java application for Mac is to follow Packaging a Java App for Distribution on a Machttps://docs.oracle.com/javase/7/docs/technotes/guides/jweb/packagingAppsForMac.html It means bundle executable shouldn't be symbol link. If the jre home use old version of java it should be included in the bundle. In other words the enviroment variable of JAVA_HOME could point to other version and that could be a issue. The problem with symbol link in a bundle is codesign it means macOS wouldn't let it run. The user exeperience will return nothing. Meaning the user thinks the application is broken. I also made copy of jre and include that inside the bundle that was missing. (check the .../bin/lwe). Now I could run LWE in command line without --jdkhome
|
This contribution was helpful to
1 thankful Users |
Follow us on