Please clarify what you mean by "syntax itself seems to be working." How is it that it is "working"? By "it's not finding the main class," do you mean if you type/paste the command that is...
Type: Posts; User: jashburn
Please clarify what you mean by "syntax itself seems to be working." How is it that it is "working"? By "it's not finding the main class," do you mean if you type/paste the command that is...
If you have a command, "/path/to/bin/java -cp /path/to/jars pkg.MainClass", break it up into separate strings as delimited by the space characters in the command, and assemble the strings into an...
You need to use colons (:) for the -cp argument.
Print jarRunner to System.out to see its final form. Copy the printout and run it on command line confirm that it has been constructed properly. If...