How should I deploy my java application
1010537May 23 2013 — edited May 23 2013Let's say I have a package with a main class, and the main class uses some class in the package
I export it all in the package in a jar file using Eclipse
Then, I put the jar file in the lib
and run using
java -cp "A1.jar";"lib/*" package/Mainclass
Is this the correct way of running java application?