how to call java prog from shell script

I have a java program to validate a XML file. I want to call this java program in a shell script which will be registered as concurrent program in oracle apps.

Can anyone please let me know the step by step appraoch required to call java program in shell script like ....intial steps or.........setting up any path for java class in shell script ... how to call a java program with parameters ....etc

tons of thanks
pavan

Usage: java [-options] class [args...]
           (to execute a class)
   or  java [-options] -jar jarfile [args...]
           (to execute a jar file)