Creating a jar file for a Java application

I created a java application that uses the data from its config folder, and also uses third-party jar files that are in the lib folder, can someone tell me how to create a jar file for this project with the contents stored in the config file and folder lib.

I tried to create a jar using the eclipse export functions. when I run this jar file, it says that it cannot find the third-party libraries that I used for this project and the configuration file.

in advance for any help

+3
source share
4 answers

Runarable JAR Eclipse 3. 4+ ( ...), , . , jar. , :)

alt text
(: eclipse.org)

+4

  • .

.

+2

Java JAR JAR , JAR- JAR-JAR-Java, .

JAR, , One-JAR JAR , , , .

, JAR , . " JAR" Sun Java.

+1

netbeans, "build", jar "dist"

0

Source: https://habr.com/ru/post/1744951/


All Articles