I am creating a SWT/JFace project and exporting as executable jar. But this jar is not working on the other computers. When use double clicks the jar nothing happens. I am sure that other user has JRE installed.
I think problem is the Referanced Libraries. Beause near the libraries its written C:\\Users\\Turgut - İhracat.p2\\pool\\plugins\\org.eclipse.osgi_3.12.50.v20170928-1321.jar
Any helps will be apriciated..
A plain SWT Java application requires at least
org.eclipse.swt_<version>.jar
and org.eclipse.swt.<platform>_<version>.jar
of the same version. The platform dependent JAR contains the native SWT library and must correspond to the operating system and JRE, eg for Windows and a 64 bit JRE the current JAR is org.eclipse.swt.win32.win32.x86_64_3.106.1.v20170926-0519.jar
(for macOS X see also Deploying SWT Applications on Mac OS X .).
For JFace the JARs
org.eclipse.jface_<version>.jar
, org.eclipse.equinox.common_<version>.jar
and org.eclipse.core.commands_<version>.jar
. are required in addition (see Using JFace outside the Eclipse platform ).
The org.eclipse.osgi
JAR and other JARs are only required for OSGi -based applications. SWT/JFace works in both plain Java and OSGi applications.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.