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:

  1. currently, jdk 6 bundled in os.
  2. presumably, next version of os still include jdk 6.
  3. it's publicly stated os have well-defined place install multiple copies of java runtimes, public interface choosing of java version, etc. see here.
  4. apple started contributing own code open jdk community, jdk 7 should available separate download, see here. 
  5. 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:

  1. double-clicking jar works.
  2. however, won't pretty, because have generic java icon in dock. don't want that.
  3. 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

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -