1

I have written a java program which uses many jar files using eclipse. However , eventually i want to run the program from command line. The class files are in the bin folder and the .java files are in the src file.

How can i run the program from command line including all the libraries and jar files?

Thank you

Abdalla Ismail
  • 409
  • 1
  • 4
  • 21
  • In eclipse: have a look at export -> runnable jar file. More general approach: use a dependecy managment tool like maven or gradle. – lwi Dec 09 '16 at 08:19
  • see this http://stackoverflow.com/questions/2096283/including-jars-in-classpath-on-commandline-javac-or-apt – Jessie Brian Revil Dec 09 '16 at 08:20

0 Answers0