Received: by 10.66.74.40 with SMTP id q8mr3026584pav.19.1347346140700; Mon, 10 Sep 2012 23:49:00 -0700 (PDT) Received: by 10.68.129.69 with SMTP id nu5mr972333pbb.17.1347346140684; Mon, 10 Sep 2012 23:49:00 -0700 (PDT) Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!r4no650859pbs.0!news-out.google.com!a8ni4572pbd.1!nntp.google.com!4no648649pbn.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.java.programmer Date: Mon, 10 Sep 2012 23:49:00 -0700 (PDT) In-Reply-To: <83333a34-5a38-4199-a83b-db2c2c39658b@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=173.164.137.214; posting-account=CP-lKQoAAAAGtB5diOuGlDQk0jIwmH0T NNTP-Posting-Host: 173.164.137.214 References: <08dcc4bb-ac13-4992-b576-1d4f51a28d2e@googlegroups.com> <83333a34-5a38-4199-a83b-db2c2c39658b@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: How Do I Publish My Working Project (corresponding dot jar doesn't work on other's PCs) From: Lew Injection-Date: Tue, 11 Sep 2012 06:49:00 +0000 Content-Type: text/plain; charset=ISO-8859-1 Xref: csiph.com comp.lang.java.programmer:18641 (unknown) wrote: > Help, all I need is: > > (1) the JDK (which one, The jars were created with NetBeans 7.1.2), That depends on how you have NetBeans and the particular project configured. Which JDK did you configure the project to use? > (2) put /dist/lib/*.jars" into my classpath environment variable, and What? Huh? You shouldn't be messing around with root-level directories like that. Put your project directory under your home directory or in some suitable location like /projects/. > (3) possibly use "java -jar" and "javaw -jar"? What do you mean? The "-jar" parameter to those commands specifies a JAR file for Java to run, if that's what you're asking. -- Lew