Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27786
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Martin Gregorie <martin@address-in-sig.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: a Java classpath question |
| Date | Tue, 18 Mar 2014 23:29:48 +0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 25 |
| Message-ID | <lgaktc$8d8$1@dont-email.me> (permalink) |
| References | <37209594-c0ba-44a7-ac07-6d7c0a57f594@googlegroups.com> <lg7uhf$2i2$1@dont-email.me> <vgayayc06uz2.1dq0oc2418ik1.dlg@40tude.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Tue, 18 Mar 2014 23:29:48 +0000 (UTC) |
| Injection-Info | mx05.eternal-september.org; posting-host="e5160e2be48f1ea550cf61512446f525"; logging-data="8616"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19yYjuOMsvtwyxS4jUig754oIlVY8Poyyc=" |
| User-Agent | Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) |
| Cancel-Lock | sha1:TEY8YskG6n//VUnStQrEZaarcfI= |
| Xref | csiph.com comp.lang.java.programmer:27786 |
Show key headers only | View raw
On Tue, 18 Mar 2014 00:52:08 +0100, Joerg Meier wrote: > On Mon, 17 Mar 2014 22:55:44 +0000 (UTC), Martin Gregorie wrote: > >> If you use a -jar option to name the jar file containing your main >> class, >> you should only need a -classpath > > <BEEP> > > If you use -jar, -classpath is ignored, so logically nothing could come > after that sentence part that makes sense ;) > OK: I so rarely use a -jar option that I'd forgotten that. So, he should be able to successfully run java -jar /home/test/abc.jar from any directory he cares to try it in. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
a Java classpath question www <xsli2@yahoo.com> - 2014-03-17 14:47 -0700
Re: a Java classpath question Knute Johnson <eternal@knutejohnson.com> - 2014-03-17 15:35 -0700
Re: a Java classpath question Joerg Meier <joergmmeier@arcor.de> - 2014-03-18 00:50 +0100
Re: a Java classpath question Arne Vajhøj <arne@vajhoej.dk> - 2014-03-17 22:39 -0400
Re: a Java classpath question Joerg Meier <joergmmeier@arcor.de> - 2014-03-18 11:15 +0100
Re: a Java classpath question Martin Gregorie <martin@address-in-sig.invalid> - 2014-03-17 22:55 +0000
Re: a Java classpath question Joerg Meier <joergmmeier@arcor.de> - 2014-03-18 00:52 +0100
Re: a Java classpath question Martin Gregorie <martin@address-in-sig.invalid> - 2014-03-18 23:29 +0000
csiph-web