Hi, I am trying to run a java program which takes the argument as "*". But it is not happening. I tried printing the value of arguments passed on command line, it is giving me the packagename as the argument value, instead of "*".
I imagine it is a problem with your shell misinterpreting the symbol, and not with Java. You can try other quoting symbols, like single quote or back-tics. that MIGHT work... but i always get confused on what exactly each means in which shell.
There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors