• 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

javax.servlet

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am using JCreator Pro 3.0, and I have the J2SE 1.4.2_03 installed. All of my environment variables appear to be set correctly. However, whenever I try to import javax.servlet.*, and then try to compile a .java file (in JCreator), I get errors stating that the package javax.servlet does not exist. If I compile the same file from the command line using javac <filename>.java, it compiles just fine.
If anyone is using JCreator can you please tell me how to get it to compile this file!? All of the paths that JCreator sets up automatically seem to be correct also.
Thanks,
Mike
 
Michael Cleary
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Oops. Never mind. I added the server.jar (included w/ Tomcat) to the JCreator paths and it now compiles fine.
Duhhh...
reply
    Bookmark Topic Watch Topic
  • New Topic