Saturday, 15 May 2010

Java Deployment - including java.library.path inside the manifest -



Java Deployment - including java.library.path inside the manifest -

hello fellow programmers, problem today in java application deployment.

i know if there someway of including -djava.library.path=lib within manifest.mf within jar, knows automatically find natives libraries without having launch cli.

from cli, doing java -djava.library.path=lib -jar evility_leveleditor.jar worked perfectly, , in manifest.mf have declared main class.

here manifest.mf:

manifest-version: 1.0 ant-version: apache ant 1.9.4 created-by: 1.8.0_20-b26 (oracle corporation) class-path: lib/jinput.jar lib/lwjgl.jar lib/lwjgl_util.jar lib/slick- util.jar main-class: evility.leveleditor.core.leveleditor

java deployment manifest java.library.path

No comments:

Post a Comment