Chikkodi:

Yup, you are right. CLASSPATH variable was not set.

Thanks.