I want to compile the servlet in the Linux System. For that I need to set the classpath for servlet-api.jar. How to do that?
我想在Linux系统中编译servlet。为此,我需要为servlet-api.jar设置类路径。怎么做?
Thanks
2 个解决方案
#1
#2
0
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。
#1
-1
This page describes how to set classpath in solaris or linux. Also try this.
本页介绍如何在solaris或linux中设置类路径。也试试这个。
#2
0
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。