Following are the simple steps to download and install the Jersey framework on your machine.
- Make a choice whether you want to install Jersey on Windows, or Unix and then proceed to the next step to download .zip file for windows and .tz file for Unix.
- Download the latest version of Jersey framework binaries fromhttps://jersey.java.net/download.html.
- At the time of writing this tutorial, I downloaded jaxrs-ri-2.17.zipon my Windows machine and when you unzip the downloaded file it will give you directory structure inside E:\jaxrs-ri-2.17\jaxrs-ri as follows.

You will find all the Jersey libraries in the directories C:\jaxrs-ri-2.17\jaxrs-ri\lib and dependencies in C:\jaxrs-ri-2.17\jaxrs-ri\ext. Make sure you set your CLASSPATH variable on this directory properly otherwise you will face problem while running your application. If you are using Eclipse then it is not required to set CLASSPATH because all the setting will be done through Eclipse.
No comments:
Post a Comment