{"action":"created","issue":{"url":"https://api.github.com/repos/tada/pljava/issues/96","repository_url":"https://api.github.com/repos/tada/pljava","labels_url":"https://api.github.com/repos/tada/pljava/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/tada/pljava/issues/96/comments","events_url":"https://api.github.com/repos/tada/pljava/issues/96/events","html_url":"https://github.com/tada/pljava/issues/96","id":132585824,"number":96,"title":"OS X El Capitan \"Java 6\" dialog when loading libpljava-so-1.5.0-BETA1.bundle referencing Java 8","user":{"login":"kkzz8888","id":10566596,"avatar_url":"https://avatars.githubusercontent.com/u/10566596?v=3","gravatar_id":"","url":"https://api.github.com/users/kkzz8888","html_url":"https://github.com/kkzz8888","followers_url":"https://api.github.com/users/kkzz8888/followers","following_url":"https://api.github.com/users/kkzz8888/following{/other_user}","gists_url":"https://api.github.com/users/kkzz8888/gists{/gist_id}","starred_url":"https://api.github.com/users/kkzz8888/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkzz8888/subscriptions","organizations_url":"https://api.github.com/users/kkzz8888/orgs","repos_url":"https://api.github.com/users/kkzz8888/repos","events_url":"https://api.github.com/users/kkzz8888/events{/privacy}","received_events_url":"https://api.github.com/users/kkzz8888/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2016-02-10T01:34:18Z","updated_at":"2016-02-13T02:06:21Z","closed_at":"2016-02-11T03:24:42Z","body":"(Editing this issue for context; the reporter began it on the end of a different issue #94. -Chap)\r\n\r\n(This is OS X El Capitan, 10.11.3. After building 1.5.0-BETA1 and setting config variables as follows)\r\n\r\n```\r\npljava.libjvm_location='/Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre/lib/server/libjvm.dylib'\r\npljava.classpath='/usr/local/share/postgresql/pljava/pljava-1.5.0-BETA1.jar'\r\n```\r\n\r\n(The following popup is reported to appear, even though `pljava.libjvm_location` explicitly refers to an installation of Java 8.)\r\n\r\n<img width=\"1013\" alt=\"2016-02-09 8 31 38\" src=\"https://cloud.githubusercontent.com/assets/10566596/12936404/67d440e2-cf6c-11e5-9869-e7792f7cff72.png\">\r\n\r\n(`otool` shows the following libraries coded into the `pljava` bundle):\r\n\r\n```\r\notool -L /usr/local/lib/postgresql/libpljava-so-1.5.0-BETA1.bundle \r\n/usr/local/lib/postgresql/libpljava-so-1.5.0-BETA1.bundle:\r\n\t/usr/local/opt/postgresql/lib/libecpg.6.dylib (compatibility version 6.0.0, current version 6.7.0)\r\n\t/usr/local/opt/postgresql/lib/libpgtypes.3.dylib (compatibility version 3.0.0, current version 3.6.0)\r\n\t/usr/local/opt/postgresql/lib/libpq.5.dylib (compatibility version 5.0.0, current version 5.8.0)\r\n\t/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)\r\n\t/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)\r\n```\r\n\r\n(There should not be any reference to a different JVM coded in, and there is not, so that is as it should be.)"},"comment":{"url":"https://api.github.com/repos/tada/pljava/issues/comments/183560388","html_url":"https://github.com/tada/pljava/issues/96#issuecomment-183560388","issue_url":"https://api.github.com/repos/tada/pljava/issues/96","id":183560388,"user":{"login":"jcflack","id":3670696,"avatar_url":"https://avatars.githubusercontent.com/u/3670696?v=3","gravatar_id":"","url":"https://api.github.com/users/jcflack","html_url":"https://github.com/jcflack","followers_url":"https://api.github.com/users/jcflack/followers","following_url":"https://api.github.com/users/jcflack/following{/other_user}","gists_url":"https://api.github.com/users/jcflack/gists{/gist_id}","starred_url":"https://api.github.com/users/jcflack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcflack/subscriptions","organizations_url":"https://api.github.com/users/jcflack/orgs","repos_url":"https://api.github.com/users/jcflack/repos","events_url":"https://api.github.com/users/jcflack/events{/privacy}","received_events_url":"https://api.github.com/users/jcflack/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T02:06:21Z","updated_at":"2016-02-13T02:06:21Z","body":">I got a fix for this: don't use server/libjvm.dylib, use jli/libjli.dylib when possible (should be from Java 7 as I understand).\r\n\r\nGreat find, thanks! This seems about the ideal solution; just use the existing GUC to point to a different `.dylib`, no code to change, just the OS X-specific documentation. Perfect, or close to it...."}}