cancel
Showing results for 
Search instead for 
Did you mean: 

Using external Jar in XI Java Mapping

Former Member
0 Kudos

Hello

I created Java Mapping that uses an external Jar that loads a system library. I put the jar file inside JAVA_HOME/jre/lib/ext/ and restarted Java Stack.

But when I test the Mapping, the classes inside the jar aren´t found. Seems the jar isn´t loaded.

If I do this on my machine (put the jar inside JAVA_HOME/jre/lib/ext/) , the application runs perfectly, but on XI Server it doesn´t work.

Does anyone know how can I solve this problem ?

I don´t want to put the jar inside the project because this jar I to be used by another non-xi java.

Thanks

Vitor Zaninotto

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

You can load the JAR file under imported archives of MAPPING OBJECTS and you can access the classes inside the jar file

While doing Java Mapping incorporate the external jars, and then import the entire Mapping program.

Thanks

Swarup

GabrielSagaya
Active Contributor
0 Kudos

you have to attach the library aii_map_api.jar to your project

Testing and Debugging Java Mapping