Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > How to javac a java program w/ another java program which is w/o a main method

Reply
Thread Tools

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

 
 
cjeffwang@yahoo.com
Guest
Posts: n/a
 
      10-31-2005
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

 
Reply With Quote
 
 
 
 
Andrew Thompson
Guest
Posts: n/a
 
      10-31-2005
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>
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK Miss Michelle. Heigardt Java 8 04-09-2011 07:20 PM
Using com.sun.tools.javac.Main() for compiling Jesper Sahner Java 7 11-21-2004 04:02 PM
com.sun.tools.javac.Main ..API docs? Andrew Thompson Java 13 01-06-2004 02:26 PM
Help - can't compile - Compiler class: 'com.sun.tools.javac.Main', not found Stefan Java 0 11-05-2003 07:17 PM



Advertisments