Would like to make anapplication in Java that will not automatically parse parameters used on the command-line. Currently, java requires public static void main(string[])
as the entry point signature. I would like just a single string that I parse myself. Can this be done at all?
Here's an example:
java MyProgram Hello World
I would want it to give me Hello World
without requiring quotes around that string. I would even settle for java giving me the entire java MyProgram Hello World
. I'm thinking this is something beyond Java and has more to do with the shell.