简体   繁体   中英

Exporting an Eclipse project with jar file into a runnable jar

I have an eclipse project that I am trying to export to a runnable jar. My project uses an external jar. The exported jar works fine expect for the functionality that uses the external jar. I tried the extract and package libraries option.

Is there anything that I should add Thank you in advance :)

did you put external.jar in your libs folder? if not then you must :) and if you you already did this and then you are exporting project then before exporting you should Right click on project --> properties--> java build path --> order and support --> check library which you are using

clean project(fresh build/installation)

it should work

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