{"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":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-02-10T01:34:18Z","updated_at":"2016-02-11T00:36:41Z","closed_at":null,"body":"(Editing this issue for context; the reporter began it on the end of a different issue #95. -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/182657477","html_url":"https://github.com/tada/pljava/issues/96#issuecomment-182657477","issue_url":"https://api.github.com/repos/tada/pljava/issues/96","id":182657477,"user":{"login":"dblanch-at-hoplasoftware","id":15682550,"avatar_url":"https://avatars.githubusercontent.com/u/15682550?v=3","gravatar_id":"","url":"https://api.github.com/users/dblanch-at-hoplasoftware","html_url":"https://github.com/dblanch-at-hoplasoftware","followers_url":"https://api.github.com/users/dblanch-at-hoplasoftware/followers","following_url":"https://api.github.com/users/dblanch-at-hoplasoftware/following{/other_user}","gists_url":"https://api.github.com/users/dblanch-at-hoplasoftware/gists{/gist_id}","starred_url":"https://api.github.com/users/dblanch-at-hoplasoftware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dblanch-at-hoplasoftware/subscriptions","organizations_url":"https://api.github.com/users/dblanch-at-hoplasoftware/orgs","repos_url":"https://api.github.com/users/dblanch-at-hoplasoftware/repos","events_url":"https://api.github.com/users/dblanch-at-hoplasoftware/events{/privacy}","received_events_url":"https://api.github.com/users/dblanch-at-hoplasoftware/received_events","type":"User","site_admin":false},"created_at":"2016-02-11T00:36:41Z","updated_at":"2016-02-11T00:36:41Z","body":"\n\n\nDaniel Blanch\nHopla! Software | www.hoplasoftware.com <applewebdata://7C8D6849-9D4B-41F4-B035-F35D937108C7/www.hoplasoftware.com>\nThe Enterprise Software & Support company\n\n\n> El 11 feb 2016, a las 1:20, Chapman Flack <notifications@github.com> escribió:\n> \n> Daniel, thanks for the test.\n> \n> Do you happen to have JAVA_HOME set in the environment of your postgres backend?\n> \n> \n\nno, i didn’t \n\n> (I think you can check with SELECT pg_backend_pid(); in a psql session, then ps -wwE -p <the-pid> | grep JAVA_HOME in another Terminal.)\n> \n> \n\ntest=# select pg_backend_pid();                                                                                               pg_backend_pid \n----------------\n          67489\n(1 row)\n\ntest=# SELECT getsysprop('java.version');                                                                                     getsysprop \n------------\n 1.8.0_65\n(1 row)\n\n\n$ps -wwE -p 67489\n  PID TTY           TIME CMD\n67489 ??         0:00.32 postgres: postgres test [local] idle \n\n\n\nNot working, but I haven’t set any java_home for sure\n\nbash-3.2# su - postgres\nhal9001:~ postgres$ echo $JAVA_HOME\n\nhal9001:~ postgres$ \n\n\n\n> -Chap\n> \n> —\n> Reply to this email directly or view it on GitHub <https://github.com/tada/pljava/issues/96#issuecomment-182652005>.\n> \n\n"}}