ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

Creating JAR bundle which includes native code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Creating JAR bundle which includes native code

    Hi !

    I've faced a problem that I can't overcome.
    I have a Java application that uses JNI and piece of code written in ILE C. I have a .srvpgm file in library file system and everything is working fine.

    The problem is that I need that application to be stored in JAR archive. I need to put this native code library in certain package.
    - is it possible to copy srvpgm file to certain place in / root file system ?
    - is it possible somhow to tell jar application to create archive with .srvpgm in library file system?
    - is it possible to compile and link ILE C application in such a way that the output is not srvpgm but rather libxxx.so ?

    I will be thankful for any help.
    Best regards,
    kiju
Working...
X