Starting with Mac OS X 10.10 (Yosemite), Java Apps won't open anymore if they contain the deprecated Plist dictionary Java. A Java Application packaged as a Mac App with Oracle's Appbundler also needs a different JavaApplicationStub and therefore won't work on systems with Apple's old Java. Oracle uses a different syntax to store Java properties in the applications ist file. Thus you would need the user to know which Java distribution he has installed on their Mac.To support Oracle Java 7 you would need to built a separate App package with Oracle's ANT task "Appbundler".This is because Apple's JavaApplicationStub only works for Apple's Java and their style to store Java properties in the ist file.Mac Apps built with tools designed for Apple's Java (like Apple's JarBundler or the OpenSource ANT task "Jarbundler") won't work on Macs with Oracle Java 7 and no Apple Java installed.Oracle JDK 1.7/1.8: /System/Library/Java/JavaVirtualMachines/.Oracle JRE 1.7/1.8: /Library/Internet Plug-Ins/ugin/Contents/.Apple Java 1.5/1.6: /System/Library/Java/JavaVirtualMachines/ or /Library/Java/Home/bin/java.Is there some difference, you might ask? Yes, there is! Whilst developing some Java Apps for Mac OS X I was facing the problem of supporting two different kinds of Java versions – the old Apple versions and the new Oracle versions. □ ❓ If you have a general question about how a feature works or would like to share an idea or a usecase for this project, then please use the GitHub Discussions Page. □ □ Report Issues at the GitHub Issues Page. □ □ See the CHANGELOG for a Release History and feature details. A BASH based launcher stub for Java based macOS Apps that works with both Apple's and Oracle's plist format.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |