Menu

Adding native libraries to the JAR

Help
SyRenity
2010-01-05
2013-05-20
  • SyRenity

    SyRenity - 2010-01-05

    Hi.

    Are there any good guidelines for including the native libs in the JAR?

    Thanks.

     
  • SyRenity

    SyRenity - 2010-01-05

    I mean, should the libraries be placed in a specific directory, or be referenced in any specific way from the application code?

    Thanks.

     
  • malcolm davis

    malcolm davis - 2010-01-05

    I use native libs like comfyj.  I've never packaged the DLLs in a jar, just include DLLs in the install process so the DLLs show up in the root of the application. 

    You may need to contact the developer of the native jars to understand the delivery limitations.  Some expect the files to be the path, others the root of the app, some have special defined values.

    I use one-jar to put all application associated projects and jars together, and leave the native stuff in the root.

     

Log in to post a comment.