Meaningless Drivel is fun!*
The moose likes Servlets and the fly likes Compiling a servlet????? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Compiling a servlet?????" Watch "Compiling a servlet?????" New topic
Author

Compiling a servlet?????

Sagar Sharma
Ranch Hand

Joined: Aug 31, 2000
Posts: 92
hi,
i have created a servlet but i am not able to compile it.
i have downloaded the JDK for the standard and the Enterprise edition. now where should i compile the servlet ie.
in c:\jdk1.2.2\bin or c:\j2sdkee\bin. also which command should i use.
I am very confused about this.
It would be of great help if someone could list down the steps to do so with the commands and the setting of path variables.

Thanks in advance.
Sagar
jaya raman
Greenhorn

Joined: Nov 08, 2000
Posts: 7
Hi Sagar,
Its quite simple....
First u set the path variable to the bin directory of jdk as well as bin directory of j2sdkee.
Second set the classpath variable to the jar files that r there in the j2sdkee and jdk.
once this is through u can go ahead compiling...
rgds,
jaya raman
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compiling a servlet?????