Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Making a JAR bundle or .app using SWT and Java 1.5

Hi Olle,

you have to extract the swt.jar into your jar bundle with the given path. So, that you'll have the full package path /org/eclipse/swt etc. with all swt classes.

Greetings,

Daniel


On Apr 10, 2006, at 2:45 PM, Olle Palmqvist wrote:

Hiya!

I've been developing a SWT application in Eclipse and I wish to make either a .app or a Jar bundle. I've tried doing both, but it doesn't seem to work. When trying to make a jar-bundle I tried both including the org.eclipse.swt project and the swt.jar file that can be found in the org.eclipse.swt directory.

The output in console.log when trying to launch the jar looks like this: "Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/swt/widgets/Composite".

I'm using Java 1.5.

Best regards,
Olle Palmqvist
ollpal@xxxxxxxxx



_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



Back to the top