tags:

views:

19

answers:

2

Hi 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?

Thanks

A: 

This page describes how to set classpath in solaris or linux. Also try this.

bdhar
A: 

Same way as any other OS: use the javac.exe -classpath argument.

Or learn how to compile using Ant.

Or use an IDE that helps you.

duffymo