java - how to create jar file using eclipse -


i have folder name called configurator has many sub folders , class files. need create configurator.jar file of folder using eclipse. followed below steps create jar file.

  1. create java project
  2. right click on project name, go properties, go java build path, click on source --> link source, browse , select configurator folder, add required external libraries --> click ok.
  3. now, able see folder structure in navigator. right click on configurator folder , select export
  4. select jar file , save jar file in specified folder.

but, after saving jar file, not able see class files inside jar.

my question is: why class files not exported jar? how using eclipse?

creating jar file using eclipse ide:

right click on project, want create jar file of. , select export context menu.

select jar file java folder , click next.

in eclipse latest version runnable jar file added.

provide destination path , click on finish create jar.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -