Am I missing something? Why not just use:
code:
--------------------------------------------------------------------------------
java -jar jarfile.jar properties-file.properties
--------------------------------------------------------------------------------
?
When you make a jar file consisting of various java class files, you can identify one of them having the main() method using
Main-Class: classname
in the manifest. So when you execute 'java -jar yourapp.jar', the entry point is the main method in the class you mentioned in the manifest.