Thursday, February 14, 2013

MANIFEST.MF merge JDeveloper for an executable jar

Goto your project > properties. Then click on deployment in the menu.
Edit or add a jar deployment profile.
Fill in the details under jar options
(select Include manifest and give it a main class name)





Also remember that the merge functionality only works with a BLANK line at the end of the merge file. REALLY this caught me.

My merge file contents:


Class-Path: commons-codec-1.3.jar

[...empty line here CRLF...]

2 comments: