What packaging tool should I use for a Mac/Windows Java app? -
i have java desktop app runs on both macos , windows.
i understand cannot have 1 distribution each, not requirement.
i need know tool or tools best use when delivering java app each.
the tool should install prerequisites (in case, java , jars) , native respective operating system.
as os x's java situation:
- currently, jdk 6 bundled in os.
- presumably, next version of os still include jdk 6.
- it's publicly stated os have well-defined place install multiple copies of java runtimes, public interface choosing of java version, etc. see here.
- apple started contributing own code open jdk community, jdk 7 should available separate download, see here.
- so, you're not expected include java runtime java app then. you're not supposed install java in ramdom place on filesystem, example.
as how should deploy java apps on os x:
- double-clicking jar works.
- however, won't pretty, because have generic java icon in dock. don't want that.
- you should use jar bundler make honest os x app. on mac, comes xcode. see documentation here. can on non-mac machine too, using this open-source project.
Comments
Post a Comment