|
|
I have acquired a 3rd party package/jar. How do I add it to my project? |
| Project Properties/Paths/Required Libraries/Add/New
Give the new library a useful, descriptive short name. This will be used for a filename, so stick with characters which are legal on your platform's filesystem.
Click 'Add' and use the file browser dialog to find the new jar, or
if you have unpacked the jar into a directory structure, find the
topmost classes directory. Select this jar or directory and add it
to the library's classes list. You now have a library definition for your 3rd party jar. Click 'ok' through all the dialogs and you should end up with the new library listed in your project's "required libraries" tab.
JBuilder will automatically insert the paths you defined in the
library definition to your project's runtime classpath. The debugger will
access the sourcepath to find the java source when you step into a
library class. If you see decompiled source instead of the actual
source, then the source path is probably incorrect or missing.
| |
| I have followed these instructions attempting to add the Apache regex jar with no success. I named the file Regex and here's Regex.libray <?xml version="1.0" encoding="UTF-8"?> library <!--JBuilder Library Definition File--> fullnameRegex/fullname class path[../../../JBuilder9/jdk1.4/jre/lib/ext/jakarta-regexp-1.3.jar]/path /class source path[../../../JBuilder9/jdk1.4/jre/lib/ext/src/jakarta-regexp-1.3.zip]/path /source documentation path[../../../JBuilder9/jdk1.4/jre/lib/ext/src/jakarta-regexp-1.3.zip]/path /documentation lastmodsaved1063507583015/lastmodsaved/library This don't make sense to me as JBuilder is in the root directory of C drive. I tried changing the paths to start with C%|/JBuilder9 etc. to no avail. I still get unresolved symbols for any of the classes. 2003-Sep-13 9:54pm psjacksoftware@aol.com | |
| [Append to This Answer] | |
| 2003-Sep-13 9:54pm |
| ||||||||
|
Java Community
Java Tools |
Code Central JB OpenTools |
Community Recent Threads |
Borland Chat Chat FAQ |
||||||||||||||
|
Feature Matrices 3.0 | 3.5 | 4.0 5.0 | 6.0 | 7.0 |
Shop for JBuilder |
JBuilder Downloads and reg keys |
Report Piracy | ||||||||||||||
|
Online Manuals 4.0 | 5.0 | 6.0 7.0 |
Borland DevSupport's Bug/RFE Form Quality Central Client |
JB Patches & Updates |
JBuilder FAQs TIs | ||||||||||||||
|
JBuilder Newsgroups |
Tamaracka's News Archive |
Mr. Haki's JBuilder Machine |
JGuru's JBuilder FAQ |
||||||||||||||
|
Sun's Bug Parade |
|||||||||||||||||
|
|||||||||||||||||