Uploaded image for project: 'Directory Studio'
  1. Directory Studio
  2. DIRSTUDIO-1293

Fails to start on MacOS Monterey

Attach filesAttach ScreenshotAdd voteWatch issueCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.0-M17
    • 2.0.0-M18
    • studio-ldapbrowser
    • None

    Description

      Launching Directory Studio fails with an error (see attached image), basically saying that the JNI_CreateJavaVM symbol is not found in libjvm.dylib.

      The symbol is actually there:

       

      bin philip$ nm ../lib/server/libjvm.dylib | grep -i jni_create
      00000000004e3190 T _JNI_CreateJavaVM
      

       

      Tried two different java versions:

      • zulu-11.jdk
      • zulu-17.jdk

      Tried adding the path to the java version explicitly in the Info.plist file:

       

        <array>
                        
            <!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options,
                          or add a VM found via $/usr/libexec/java_home -V
                      <string>-vm</string><string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string>
                      <string>-vm</string><string>/Library/Java/JavaVirtualMachines/1.8.0.jdk/Contents/Home/bin/java</string>
                  -->
                        
      <string>-vm</string><string>/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home/bin/java</string>
            <string>-keyring</string>
            <string>~/.eclipse_keyring</string>
                    
          </array> 
      

       

      This appears to be a problem in Eclipse/Directory Studio.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            pjpeake Philip Peake

            Dates

              Created:
              Updated:

              Slack

                Issue deployment