This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Compiling a servlet?????" Watch "Compiling a servlet?????" New topic

Compiling a servlet?????

Sagar Sharma
Ranch Hand

Joined: Aug 31, 2000
Posts: 92
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.
jaya raman

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...
jaya raman
I agree. Here's the link:
subject: Compiling a servlet?????
Similar Threads
servlet compilation error.
Servlet class problem In Tomcat
problem setting jsdk2.0 classpath
Help in Ant