Deploy Java application on MacOSX (from a Windows system)

Posted by Matías on Stack Overflow See other posts from Stack Overflow or by Matías
Published on 2010-05-09T23:56:46Z Indexed on 2010/05/10 0:08 UTC
Read the original article Hit count: 153

Filed under:
|
|

Hello,

Here's the deal. I'm just starting with Java programming, I've made a simple application that uses SWT graphic library and I want to deploy it on a Mac (running the latest version of MacOS X). I did all the programming in my Windows 7 machine, so here are my questions:

Q1) Can I make an executable file for MacOS X from my Windows machine? How? (I saw that it's possible to create .exe files on Windows, instead of using .jar; I want to do the same for the Mac, of course it won't be an .exe)

Q2) If I export my project in Eclipse and I choose Runnable JAR File and then on Library Handling I pick Extract required libraries into generated JAR or Package required libraries into generated JAR I end up with a huge .JAR (about 15MB of size, my application consist in just a button on a Window and a tiny method that doesn't do much). Is that considered normal? Here's the list of libraries that my project appears to be using:

alt text

Thanks in advance.

© Stack Overflow or respective owner

Related posts about java

Related posts about swt