This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes compilation  error by prompt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "compilation  error by prompt" Watch "compilation  error by prompt" New topic
Author

compilation error by prompt

k silva
Greenhorn

Joined: Jan 21, 2008
Posts: 9
I am having trouble. I am not getting compile the classes by prompt. Only you compile for any IDE. Someone I know why?

Gives an error and the signing of the class.
The error is this: error while writing Test: Classes\Teste.class

Entered the command is:
Javac-classpath /C:/Java/tomcat5/common/lib/servlet-api.jar -d classes src/Teste.java
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Did you create the directory "classes" ?


[My Blog]
All roads lead to JavaRanch
k silva
Greenhorn

Joined: Jan 21, 2008
Posts: 9
yes
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Can you please copy/paste the exact command line, and the exact message ?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: compilation error by prompt