This has nothing to do with java, but with the command line you need to use:
java Calculate 2 "*" 3
, * : , , , . () . , , ('*') ("*") , intepret , .
, , , cmd :
java Calculate 2 <files in the directory> 3
, java , - , , .
( - Linux, ).
@PatriciaShanahan , , :
java Calculate "2 * 3"
, , args[0] "2 * 3" ( args 1, , ), . .