Cheers,
Naren
(OCEEJBD6, SCWCD5, SCDJWS, SCJP1.4 and Oracle SQL 1Z0-051)
I thought this thread looked unfamiliar, and was wondering why nobody has yet given the correct way to set a system classpath-not at all.Bear Bibeault wrote:. . . it's been moved to a more appropriate location.
geet kaur wrote:like this javac -classpath C:\ApacheSoftwareFoundation\tomcat5.5\common\lib\servlet-api.jar -d classes src\Ch1Servlet.java
1.package javax.servlet.http.* does not exist
2.cannot find symbol HttpServlet.
If you set a system classpath, all applications will use it. Even though they require different classpaths. So a system classpath will grow and grow. Set your classpath as Jesper has told you; if you create a jar, put the classpath in its manifest file.geet kaur wrote:Hey campbell
Thanks for your advice,but if you could ellaborate it,as it would be of great help...
OCPJP 6.0 (98%)
Whose rules are you playing by? This tiny ad doesn't respect those rules:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|