Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #18646
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | markspace <-@.> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) |
| Date | Tue, 11 Sep 2012 12:45:39 -0700 |
| Organization | A noiseless patient Spider |
| Lines | 23 |
| Message-ID | <k2o4d5$1rv$1@dont-email.me> (permalink) |
| References | <08dcc4bb-ac13-4992-b576-1d4f51a28d2e@googlegroups.com> <aauhg0F26rkU1@mid.individual.net> <a678337b-f349-4648-8ac6-3b854de9545c@googlegroups.com> <83333a34-5a38-4199-a83b-db2c2c39658b@googlegroups.com> <c2b23e07-fdba-4b91-850a-1c2d104b59db@googlegroups.com> <734d3450-00d4-45cf-a760-f78a10613945@googlegroups.com> <k2nom9$gap$1@dont-email.me> <84caa856-f49b-4ae3-8ae8-e7c5b6579b11@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Tue, 11 Sep 2012 19:45:42 +0000 (UTC) |
| Injection-Info | mx04.eternal-september.org; posting-host="61282af8d6595e8d991edb5ac03d6e00"; logging-data="1919"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18tBiO55u+yWC0FQFwX8zBCXoNQii+7Zns=" |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120824 Thunderbird/15.0 |
| In-Reply-To | <84caa856-f49b-4ae3-8ae8-e7c5b6579b11@googlegroups.com> |
| Cancel-Lock | sha1:5XJVdGtsAHYoIkwBok0TBUgj3bI= |
| Xref | csiph.com comp.lang.java.programmer:18646 |
Show key headers only | View raw
On 9/11/2012 11:08 AM, Lew wrote: > markspace wrote: >> To run, you use java -cp <path to all needed jars> -jar <path/your jar> > > The problem with that is that the command will ignore the "-cp" parameter. > > "-cp" and "-jar" is either/or proposition. > Yes I totally forgot about that. I guess I don't actually run java from the command line very often. That leaves setting the classpath in the jar itself, which is kind of tricky if you are going to be moving the jar to other people's computers. Java WebStart and OneJar come in handy here. Classpath in a jarfile: <http://docs.oracle.com/javase/tutorial/deployment/jar/downman.html>
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-07 05:15 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-09-07 12:24 +0000
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) "John B. Matthews" <nospam@nospam.invalid> - 2012-09-07 09:54 -0400
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-13 06:40 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2012-09-13 17:20 +0000
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-13 11:00 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Gene Wirchenko <genew@ocis.net> - 2012-09-13 15:36 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Arne Vajhøj <arne@vajhoej.dk> - 2012-09-13 20:34 -0400
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Nigel Wade <nmw@ion.le.ac.uk> - 2012-09-07 16:17 +0100
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Lew <lewbloch@gmail.com> - 2012-09-07 11:11 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) "John B. Matthews" <nospam@nospam.invalid> - 2012-09-07 21:28 -0400
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-10 23:29 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Lew <lewbloch@gmail.com> - 2012-09-10 23:49 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-11 05:12 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) markspace <-@.> - 2012-09-11 09:25 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Lew <lewbloch@gmail.com> - 2012-09-11 11:08 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) markspace <-@.> - 2012-09-11 12:45 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 07:24 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 08:00 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) markspace <-@.> - 2012-09-12 08:21 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 08:58 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 09:02 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) markspace <-@.> - 2012-09-12 09:15 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 09:44 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 10:24 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Lew <lewbloch@gmail.com> - 2012-09-12 10:19 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 11:10 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 11:26 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 11:47 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Lew <lewbloch@gmail.com> - 2012-09-12 12:56 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Lew <lewbloch@gmail.com> - 2012-09-12 12:58 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Arne Vajhøj <arne@vajhoej.dk> - 2012-09-12 20:45 -0400
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-12 23:28 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Arne Vajhøj <arne@vajhoej.dk> - 2012-09-12 20:43 -0400
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Nigel Wade <nmw@ion.le.ac.uk> - 2012-09-17 10:10 +0100
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) clusardi2k@aol.com - 2012-09-11 16:21 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) markspace <-@.> - 2012-09-11 17:33 -0700
Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) Roedy Green <see_website@mindprod.com.invalid> - 2012-09-07 22:26 -0700
csiph-web