run java console program in unix
<p>I have some code in Java using Eclipse and I would like to deploy it to unix envirnment.  The program is simple console program that just takes some arguments at the run time, read a file and print out some results.</p>

<p>My question that what is best approach to deploy and run it in unix envirnment.  I was just thinking to copy all the classes file to the unix envirnment and create a batch file to run the main class file.  Does this sound okay? Or, should I create a runnable jar file?</p>

<p>Also, where should i put the jar files that the prgram is referencing (in classpath)?</p>

<p>Thanks</p>
