This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: standalone program to *.jar


Yaroslav,

When the '-jar' option is used, all other user classpath settings are
ignored. So 

$ java -cp "C:/JVM/kawa/kawa-1.9.3.jar;." -jar g:/Work/kawa/test.jar

is equivalent to

$ java -jar g:/Work/kawa/test.jar


Dominique Boucher
Lead Software Developer
Nü Echo Inc.
http://www.nuecho.com
 

> -----Original Message-----
> From: Yaroslav Kavenchuk [mailto:kavenchuk@gmail.com]
> Sent: December 13, 2007 8:58 AM
> To: Dominique Boucher
> Cc: kawa@sourceware.org
> Subject: Re: standalone program to *.jar
> 
> Dominique Boucher wrote:
> > Did you put test.jar AND kawa.jar in your classpath?
> >
> 
> Hmm, when I put both jar's in classpath - all works. But when I put only
>   kawa.jar in classpath and specify test.jar as -jar option:
> 
> $ java -cp "C:/JVM/kawa/kawa-1.9.3.jar;." -jar g:/Work/kawa/test.jar
> 
> - error raise. It is normal?
> 
> Thanks!



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]