[英]How to set class path for servlet-api.jar file in linux
I want to compile the servlet in the Linux System. 我想在Linux系统中编译servlet。 For that I need to set the classpath for servlet-api.jar. 为此,我需要为servlet-api.jar设置类路径。 How to do that? 怎么做?
Thanks 谢谢
Same way as any other OS: use the javac.exe -classpath
argument. 与任何其他操作系统相同的方式:使用javac.exe -classpath
参数。
Or learn how to compile using Ant. 或学习如何使用Ant进行编译。
Or use an IDE that helps you. 或使用可以为您提供帮助的IDE。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.