Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Deploying a single cross platform SWT Jar

I would like to propose a new Q&A to be added to the SWT FAQ (http://www.eclipse.org/swt/faq.php).

In this stackoverflow discussion (http://stackoverflow.com/questions/2706222/create-cross-platform-java-swt-application/5784073#5784073) I present an approach which produces a single jar packaging up the SWT jars for a number of platforms and which loads the correct one at runtime. This allows the resulting jar to use the SWT native widgets across multiple platforms from a single jar.

Let me know if you have any questions.

Martin


Back to the top