(Answer) (Category) FAQ-O-Matic : (Category) General : (Category) IDE/Editor :
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.
Click 'Source', 'Add' and find the top of the source path, if your 3rd party library provided source.
Do the same for the Docs tab.

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.
2001-Mar-17 12:46am gyles19@visi.com

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
Previous: (Answer) I'm trying to run my first application and JBuilder gives me this dialog box, or I get an error "Can not find main method" or "Unable to start runtime due to incomplete configuration."
Next: (Answer) Why don't changes I make to the VM Parameters take effect until I bounce JBuilder?
This document is: http://www.visi.com/~gyles19/cgi-bin/fom.cgi?file=104
[Search] [Appearance]
This is a Faq-O-Matic 2.709.
This FAQ administered by gyles19@visi.com.

Other JBuilder Links

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
Netring Home - About - Privacy
The
JBuilder Netring Logo
The Borland JBuilder Netring by JBuilder FAQ-O-Matic
[ Join Now | List Sites | Random | << Prev | Next >> ]
[ Previous 5 Sites | Skip Previous | Skip Next | Next 5 Sites ]