Java Servlet Development Kit (JDSK) installation

Java Servlet Development Kit (JDSK) installation

JSDK (Java Servlet Development Kit) is a package containing all the classes and interfaces needed to develop servlets. JSDK also contains a web server and servlet engine to test your creations. The servlet engine provided in JSDK is a basic one (but free). In this article we will show you how to install and run it on your device.

Where to download JSDK?

The first step is to download JSDK Sun, which is available from the Sun website:

How to install JSDK?

To install JSDK decompress the archive (using the tar command in Unix systems) or double-click on the executable file on Windows. opy the file tree:

  • Either in the root directory of the JDK, no configuration is necessary.
  • Or in any directory. You must then update the path (PATH) and the path to the classes (CLASSPATH).

To verify that the installation was performed correctly, start the servletrunner utility, the servlet engine included in the JSDK, that is to say, a basic server running on port 8080. If JSDK utility is correctly installed servletrunner should return the following lines:

servletrunner starting with settings : 
port = 8080 
backlog = 50 
max handlers = 100 
timeout = 5000 
servletdir = ./examples 
document dir = ./examples 
servlet propfile = ./examples/ 
do you have more questions about java? check out our forum!
Around the same subject