• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Compilation problems

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been learning from a book called Core Servlets and Java Server Pages for the past month or so, and I'm quite far into it. I have no problem running the examples when there's only one servlet or jsp file, but as soon as I try to run examples that use 5 or 6 servlets that reference each others methods, variables, etc I can't get it to work.
When I try to compile one of the Java files, I get an error saying that one of the other class files wasn't found. Naturally I try to compile that one in order to compile the first one, but the second one requires that you compile 3 others, etc.
I don't know which one to compile first, and when I finally do compile one succesfully, the other still won't work. Am I doing something wrong. I am using Textpad to compile the servlets, can anyone help?
Dan Caylor
dan@thinkdan.com
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This is a problem quite amuses me as well.
Try javac *.java this will work but I do not have explanation.
 
reply
    Bookmark Topic Watch Topic
  • New Topic