Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

compiling woes  RSS feed

 
ilteris kaplan
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

In eclipse I can run my progam just fine but when I try to compile it on the Terminal I get this error:

ilteris:a2z ilteris$ javac Crawling.java
Crawling.java:21: cannot find symbol
symbol : class Crawler
location: class a2z.Crawling
Crawler crawler = new Crawler();
^
Crawling.java:21: cannot find symbol
symbol : class Crawler
location: class a2z.Crawling
Crawler crawler = new Crawler();
^
2 errors

*******************

this is my code. What am I doing wrong?

 
ilteris kaplan
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okay figured out I must compile it outside of the package. lesson is learned.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!