Scratch that. They didn’t include the JavaAppLauncher.app from the OpenJDK website: https://wiki.openjdk.java.net/display/MacOSXPort/How+to+embed+a+.jre+bundle+in+your+Mac+app <https://wiki.openjdk.java.net/display/MacOSXPort/How+to+embed+a+.jre+bundle+in+your+Mac+app>
STEP 4. Build the project in Xcode. If all goes well you'll find the product JavaAppLauncher.app which will give you a template to base your own app bundle from. Xcode will give you the path of the project output. Mine was : /Users/me_myself_and_I/Library/Developer/Xcode/DerivedData/JavaAppLauncher-aukxmnehzjucapfxrjaqkfoicyak/Build/Products/Debug/JavaAppLauncher.app STEP 5. Copy/Paste the JavaAppLaucher.app/Contents/MacOS/JavaAppLauncher stub as well as the JavaAppLaucher.app/Contents/Plugins directory (the entire contents) into your own Java Application Bundle. Also copy 'Your_Executable_JarFile.jar' into a YourApp.app/Contents/Java/ directory. STEP 6. Edit your info.plist to look something like: NOTE: /$JAVAROOT/ is now a /Content/Java directory an not '/Contents/Resources/Java' as in the older bundles. > On Dec 6, 2016, at 9:18 PM, Eric Tykwinski <[email protected]> wrote: > > Just download the Java jar, or Show Package Contents, > ./Contents/Resources/Java/ubnt-discovery-v2.4.1.jar and run from there. > There isn’t a Java application in the app anyway, so it’s basically trying > the same, but probably an issue with the plist. > My first guess would be "$JAVAROOT/ubnt-discovery-v2.4.1.jar” as there isn’t > an export for JAVAROOT on my system. > >> On Dec 6, 2016, at 5:03 PM, Justin Wilson <[email protected]> wrote: >> >> Has anyone downloaded the UBNT Discovery tool for mac lately? I >> re-downloaded it on a new laptop, installed the recommended java, and the >> install says it’s corrupt. Is it just me? >> >> >> Justin Wilson >> [email protected] >> >> --- >> http://www.mtin.net Owner/CEO >> xISP Solutions- Consulting – Data Centers - Bandwidth >> >> http://www.midwest-ix.com COO/Chairman >> Internet Exchange - Peering - Distributed Fabric >> >> _______________________________________________ >> Ubnt_users mailing list >> [email protected] >> http://lists.wispa.org/mailman/listinfo/ubnt_users > > > _______________________________________________ > Ubnt_users mailing list > [email protected] > http://lists.wispa.org/mailman/listinfo/ubnt_users
_______________________________________________ Ubnt_users mailing list [email protected] http://lists.wispa.org/mailman/listinfo/ubnt_users
