Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JCreator help !!!  RSS feed

 
Wasim Ahmed
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,
I am trying to compile a Servlet in JCreator LE and getting a following error message
D:\JCreator LE\MyProjects\HelloServlet.java:2: package javax.servlet does not exist
I am using jdk1.4 and added to the JAVA_HOME path any thoughts ??
 
Ding Ding
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you must add the Servlet's JAR file into your project's classpath
 
Michael Matola
whippersnapper
Ranch Hand
Posts: 1828
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DingDing, please adjust your displayed name to meet the JavaRanch Naming Policy. You can do so here.
Thanks. Welcome to the Ranch!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!