This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

compilation error by prompt

 
k silva
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you create the directory "classes" ?
 
k silva
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please copy/paste the exact command line, and the exact message ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic