jni - How to build Java project while using shared library? -
i have java class needs access shared library class. how can write code use shared library , build project?
public void callapp(){ externalprop prop = new externalprop(); prop.set("name", "test user"); prop.set("eligibility", "master"); prop.set("id", "103452"); }
externalprop
available in driver-prop.jar
file, asked use shared library (not added project).
since externalprop
not in build path, compile time error
externalprop cannot resolved type
can help?
i have resolved by,
1) compilation - added library external jar maintained in shared location , updated classpath (build path) refer jar. jar maintained outside of project.
2) deployment - created shared library in web sphere environment , referenced library application.
Comments
Post a Comment