Andrew Drozdov
Andrew Drozdov

Reputation: 2183

What is the shell command used when running "Export" for JAR in Eclipse?

I'd like to export my eclipse project as a JAR from the command line, but have only done this through the Eclipse UI with File -> Export -> Java -> JAR.

Upvotes: 1

Views: 389

Answers (1)

ziesemer
ziesemer

Reputation: 28687

The Java JDK provides the jar command: https://docs.oracle.com/javase/8/docs/technotes/tools/unix/jar.html

For more elaborate uses, you may be well advised to consider something like Apache Ant or Maven:

Upvotes: 2

Related Questions