SriKrishnan wrote:

> Whereas modified second syntax works correctly. Can anyone help me why "-cp"
> is not working as expected in "windows XP"?

-cp disables classes available through CLASSPATH environment variable.
You should specify full path to your JAR file in -cp (unless it is in
the current directory), otherwise JVM will not find it.

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: ji...@kosek.cz      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to