This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Servlets and the fly likes JavaServlet-CLASSPATH problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "JavaServlet-CLASSPATH problem" Watch "JavaServlet-CLASSPATH problem" New topic
Author

JavaServlet-CLASSPATH problem

Sharma Ashutosh
Bartender

Joined: Apr 06, 2001
Posts: 346
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


Ashutosh Sharma
SCJP 1.2, SCEA 5, Brainbench certified J2EE Developer, Documentum Certified Professional
Blog : http://scea5-passingpart2and3.blogspot.com/
Swami nathan
Ranch Hand

Joined: Sep 30, 2000
Posts: 57
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.


SCJP, SCWCD, SCEA
Sharma Ashutosh
Bartender

Joined: Apr 06, 2001
Posts: 346
Thanks,
Swami Nathan. I will try it and then get back to you if reqd.
------------------
Ashutosh Sharma
---------------------
SCJP2.0
 
 
subject: JavaServlet-CLASSPATH problem
 
Similar Threads
Use JSDK2.1 to Test Servlet
problem with localhost
javax\servlet
Servlets
Compiling the servlet