How to javac a java program w/ another java program which is w/o a main method

Discussion in 'Java' started by cjeffwang@yahoo.com, Oct 31, 2005.

  1. Guest

    I have been reviewing my "Java Tutorial" lately. For the
    CounterDemo.java in IO\example-1dot1, javac CounterDemo.java showed an
    error message that can not find the CountWriter/CountReader classes.

    How do I compile counterDemo.java?

    TIA,
    Jeffrey
     
    , Oct 31, 2005
    #1
    1. Advertising

  2. Re: How to javac a java program w/ another java program which isw/o a main method

    wrote:

    > How do I compile counterDemo.java?


    Please consider posting noob questions to c.l.j.help.
    <http://www.physci.org/codes/javafaq.jsp#cljh>
     
    Andrew Thompson, Oct 31, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Stefan
    Replies:
    0
    Views:
    5,047
    Stefan
    Nov 5, 2003
  2. Andrew Thompson

    com.sun.tools.javac.Main ..API docs?

    Andrew Thompson, Jan 4, 2004, in forum: Java
    Replies:
    13
    Views:
    4,742
    Andrew Thompson
    Jan 6, 2004
  3. Jesper Sahner
    Replies:
    7
    Views:
    7,922
    Jesper Sahner
    Nov 21, 2004
  4. Miss Michelle. Heigardt
    Replies:
    8
    Views:
    143,737
    abbinv
    Apr 9, 2011
  5. Mark Sullivan
    Replies:
    0
    Views:
    272
    Mark Sullivan
    Dec 21, 2007
Loading...

Share This Page