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.

https://www.ibm.com/support/knowledgecenter/en/ssaw57_8.5.5/com.ibm.websphere.nd.doc/ae/ucws_rsharedlib_map.html


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -