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

JavaServlet-CLASSPATH problem

 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using jsdk2.1 on my Windows 98 PC.It's located in my root directory ie C:\ , I'm also using jdk1.3's javac for generating Servlet's class file. jdk1.3 doesn't require an explicit classpath setting in Win98 Envn.But at the time of compilation of simple .java file(which is servlet code)i'm getting unresolved symbol error-a definite sign of CLASSPATH error. How can i resolve this? I've put my servlet code in the c:\jsdk2.1 directory itself.
------------------
Ashutosh Sharma
---------------------
SCJP2.0
 
Swami nathan
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ashutosh,
Your servlet program requires servlet.jar file.
Copy the servlet.jar file from JSDK and paste it in
C:\jdk1.3\jre\lib\ext.
regds.
 
Sharma Ashutosh
Bartender
Posts: 346
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks,
Swami Nathan. I will try it and then get back to you if reqd.
------------------
Ashutosh Sharma
---------------------
SCJP2.0
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic