Referencing JAR Files
Procedure
- Download the KMC CONTENT MANAGEMENT software component archives (SCA) from the SAP Service Marketplace
. To do this:
- Go to
- Choose the relevant release of SAP NetWeaver and under the Enterprise Portal component find KMC CONTENT MANAGEMENT SCA files.
- Import the downloaded KMC CONTENT MANAGEMENT SCA files in your SAP NetWeaver Developer Studio. For more information, see: Importing and Updating Software Components
-
Identify all the JAR files you need to reference in your project. If you use a particular Knowledge Management class or interface, you can identify the corresponding JAR file in the Javadocs. The Javadocs specify the name of the JAR file that each interface or class belongs to.
For Knowledge Management (KM), you need to reference:
-
tc~km~frwk.jar file
-
Additional portal JAR files if you use portal classes or interfaces
You can find the tc~km~frwk.jar file in the following folder in the initially set by you system drive and workspace: LocalDevelopment\KMC-CM\sap.com\tc\km\frwk\_comp\gen\default\public\api\lib\java.
-
-
Copy all the JARs that you need for the project from the portal for deployment to the workspace of your project. To do this:
-
Create a folder in your project workspace with .
-
Copy the following KM JAR file to the folder: tc~km~frwk.jar .
-
If required, copy further portal JAR files to the folder.
-
-
Add the JAR files you need for your project to the Java build path of your project. To do this, choose and then select Java Build Path and choose Add Jars .

