Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #10314

Re: Java classpath question and how to run a program from command line?

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From markspace <-@.>
Newsgroups comp.lang.java.programmer
Subject Re: Java classpath question and how to run a program from command line?
Date Mon, 28 Nov 2011 14:21:55 -0800
Organization A noiseless patient Spider
Lines 15
Message-ID <jb11i4$klh$1@dont-email.me> (permalink)
References <85f06dad-9e66-42ef-a232-d98c72832318@cc2g2000vbb.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Mon, 28 Nov 2011 22:21:56 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="XjIWM99mD7Ijfdu600oVPA"; logging-data="21169"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19tNmkURoRDPFH9watKjEHsyJYBMh6PxSs="
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0
In-Reply-To <85f06dad-9e66-42ef-a232-d98c72832318@cc2g2000vbb.googlegroups.com>
Cancel-Lock sha1:txDVkqk+EzrwiBIMkrsbX449Wu8=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:10314

Show key headers only | View raw


On 11/28/2011 1:50 PM, www wrote:
>
> java -classpath /cygdrive/d/project/libs;. A.B.C.MainWindow
>
> Can you help me on how to run it from the command line?


Besides "show us the error," please also show the directory sturture 
with the ls command, as well as the working directory (pwd).

Something like what's done at the bottom of this page:

<http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javac.html>

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Java classpath question and how to run a program from command line? www <xsli2@yahoo.com> - 2011-11-28 13:50 -0800
  Re: Java classpath question and how to run a program from command line? Robert Klemme <shortcutter@googlemail.com> - 2011-11-28 23:08 +0100
  Re: Java classpath question and how to run a program from command line? markspace <-@.> - 2011-11-28 14:21 -0800
  Re: Java classpath question and how to run a program from command line? Lew <lewbloch@gmail.com> - 2011-11-28 15:58 -0800
  Re: Java classpath question and how to run a program from command line? www <xsli2@yahoo.com> - 2011-11-29 06:14 -0800
    Re: Java classpath question and how to run a program from command line? www <xsli2@yahoo.com> - 2011-11-29 06:54 -0800
      Re: Java classpath question and how to run a program from command line? Lew <lewbloch@gmail.com> - 2011-11-29 07:43 -0800
        Re: Java classpath question and how to run a program from command line? www <xsli2@yahoo.com> - 2011-11-29 09:22 -0800
          Re: Java classpath question and how to run a program from command line? Lew <lewbloch@gmail.com> - 2011-11-29 12:08 -0800
  Re: Java classpath question and how to run a program from command line? Roedy Green <see_website@mindprod.com.invalid> - 2011-11-29 13:57 -0800

csiph-web