Of course, it cannot replace logical to check required arguments inside your Java application ('cause user can run your Java application without the batch file). But it can provide a more flexible way to run Java application.
And here is your solution:
HelloKitty class requires to pass 2 arguments, they're presented by %1 and %2 and assume that you store this code segment into hello.bat
if "%2"=="" goto error
java HelloKitty %1 %2
echo Usage: hello arg1 arg2