EclipseZone - Launching SWT Applications Without the Fuss: "The original instructions for running SWT applications outside of Eclipse instruct you to extract the platform-specific SWT libraries into a location where the JVM can find them. You can specify this location explicitly by passing -Djava.library.path= to your java executable. But is there a simpler way that doesn't require the user to perform this 'setup'?
It turns out that all you need to do is load your application using a special class loader that knows how to find SWT libraries and extract them into some temporary location:
"