Skip to Content
avatar image
Former Member

Using external Jar in XI Java Mapping

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Aug 14, 2008 at 08:05 PM

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

    Testing and Debugging Java Mapping

    Testing and Debugging Java Mapping in Developer Studio

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 14, 2008 at 08:07 PM

    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

    Add comment
    10|10000 characters needed characters exceeded