Building a executable JAR file with external libraries through JDeveloper
This post explain the different approaches to build the executable JAR file with external libraries through JDeveloper.Referring the external libraries from JAR:
Right Click project and select propertiesClick on Deployment and create new JAR deployment profile.
Select "Include Manifest File" option.
Select the main class.
Create a manifest file(any location) and add the required jar files to the Class-Path header
Class-Path.mf
Class-Path: json.jar log4j.jar
End the Class-Path.mf file by a carriage return.
Add the Class-Path.mf file to Additional Manifest Files to Merge into Manifest.mf