• Post Reply Bookmark Topic Watch Topic
  • New Topic

SWT/JFace Build Project  RSS feed

 
Roi Lago
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!
The user interface I�m creating depends on SWT, jface and jface.text and it is imposible to create an executable jar.
I have tried with Eclipse>export, Maven, ANT, EasyEclipse & FatJAR... and the result is an UnsatisfiedLinkException - no swt-3236 on java.library.path.
The only way I can execute the project is under eclipse and only if the project is declared as a plug-in.
The eclipse>export>plug-in also fails.
Some idea?
Thanks.
 
Nathan Pruett
Bartender
Posts: 4121
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What version of Eclipse/SWT are you using? The SWT FAQ says that Eclipse/SWT 3.3 will load the native libraries from the platform SWT.jar if it's on your classpath. Is the SWT.jar in your JAR's classpath? (This would be in the MANIFEST.MF in your META-INF directory inside your Jar.)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!