Thanks 2009/8/11 Charles Lee <littlee1...@gmail.com> > It seems you should include all the classes and jars in the jar file. > > On Tue, Aug 11, 2009 at 3:30 PM, Charles Lee <littlee1...@gmail.com> > wrote: > > > Hi galaxy, > > > > Here is what I found using man java: > > -jar: When you use this option, the JAR file is the source of all user > > classes, and other user class path settings are ignored. > > > > > > On Tue, Aug 11, 2009 at 2:40 PM, galaxy <tian.gal...@gmail.com> wrote: > > > >> Hi all > >> I am working to support -jar in my work ,but it is always unable to find > >> the > >> classes specified in the -cp xxx, > >> I happened to notice there is a line in native/launcher/shared/main.c in > >> the > >> createVMArgs > >> /* Ignore classpath defines for -jar */ > >> /* XXX -cp is accepted ??? */ > >> > >> So how should I do to include my classpath when using -jar ? > >> The -DDjava.class.path seems not useful too . > >> -- > >> regards > >> Tian > >> > > > > > > > > -- > > Yours sincerely, > > Charles Lee > > > > > > > -- > Yours sincerely, > Charles Lee >
-- regards Tian