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...
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton