Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-1126

Change linkage around libjvm to use dlopen.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.19.0
    • 0.19.0
    • None
    • None

    Description

      The dependency on libjvm is a "hard", requiring an link and rpath. This causes issues when shifting between jvms. The standard practice is to use dlopen against the $JAVA_HOME/relative location.

      ref: https://bugzilla.redhat.com/show_bug.cgi?id=449456

      Simple reference example can be found here:
      https://github.com/timothysc/tests/tree/master/jni_dlopen

      Attachments

        Issue Links

          Activity

            People

              tstclair Timothy St. Clair
              tstclair Timothy St. Clair
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: