This has nothing to do with the jar command, but has everything to do with how the command line works. Basically, $1 is evaluated at the command line as "Var 1". So, as far as the jar command is aware, you are telling it to add "cashFlowCalculator.class" twice. Don't believe me? Run this on your command shell:
echo cashFlowCalculator.class cashFlowCalculator$1.class
and you will see
cashFlowCalculator.class cashFlowCalculator.class
Because $1 evaluates to "empty" as it is very likely undefined.
Instead, try this line for your jar command:
jar cfve CashFlow.jar cashFlowCalculator cashFlowCalculator.class cashFlowCalculator\$1.class
And that should work.