I am coding this below functionality where I need to run a class which takes some parameters this will perform an action on the server that is given in the url ....
oracle.ucm.client.DownloadTool --ping --URL=abz.com --param1=abc --param=xyz
And this class is present in a jar which I have included in the build path.
Executing this manually through command line looks something like this:
bash$ java -classpath ".jar file location" abc.xyz.DownloadTool --ping --url=www.google.com --username=xyx --password=abc
Please let me know how to program this.