简体   繁体   中英

Running an executable jar of SWT/JFace project on the other Computers

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

Here is the Screen capture of libraries. Any helps will be apriciated..

在此处输入图片说明

  • Remove all referenced jars,
  • Create a 'lib' folder in your project,
  • Paste your referenced jars into 'lib' folder;
  • Add these jars into 'classpath'

If this not work, execute your jar via command line to see the error.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM