I have created a java application run by main. My development is done by Eclipse on PC and I would like to run it on linux scheduled by cronjob. The application has dependencies. Some classes are self-created. Some are external jars. What is the most convenient way to compile it to include all dependencies and put it on the linux?
Thanks