|
||||||
|
||||||
|
|
||||||
| Next : Import source code | ||||||
Import third party JARsSay that the demo application needs to process dates, and we want to use the excellent Joda Time API. First download a binary distribution of the library and extract it somewhere on your file system. Then create a new folder in your project as shown below: ![]() When prompted, call the folder "lib". Right click on your new folder and select "Import..." ![]() In the resulting dialog, select "File System" and then "Next". Browse to the location that you extracted the library to and select the JAR file. Note that when you click "Browse" you must navigate to the directory containing the JAR file, otherwise you'll end up importing some unwanted folders as well as your JAR file. ![]() Click "Finish". You should end up with something like: ![]() Now to add the JAR to the project classpath. Right-click on the project and select "Properties". Go to the "Libraries" tab in "Java Build Path": ![]() Click on "Add JARs..." and navigate to the freshly imported JAR. Click "OK" ![]() |
|
|
|
|
|
|
| JavaBeat Media (2004-2008), India | |
| javabeat | planetoss | links directory | advertise | |
|