0

until now, I created a (Runnable) JAR file by using Eclipse and I ran it from command line by using java -jar File.jar.

Now, I need to perform compiling by command line.

My project uses external libraries and consists of several packages

lib (all JARs imported in the code)
src
---> it
     ---> myApp
     ------------> MainPackage
     ------------> Package2
     ------------> Package3

Each package contains some classes, and the MainClass is in MainPackage.

Anyone can suggest me all the steps to be followed for creating the JAR file?

Thanks in advance

2

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.