{"action":"created","issue":{"url":"https://api.github.com/repos/s-u/rJava/issues/47","labels_url":"https://api.github.com/repos/s-u/rJava/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/s-u/rJava/issues/47/comments","events_url":"https://api.github.com/repos/s-u/rJava/issues/47/events","html_url":"https://github.com/s-u/rJava/issues/47","id":83642735,"number":47,"title":"Can't find local class since R 3.2.0","user":{"login":"piccolbo","id":905563,"avatar_url":"https://avatars.githubusercontent.com/u/905563?v=3","gravatar_id":"","url":"https://api.github.com/users/piccolbo","html_url":"https://github.com/piccolbo","followers_url":"https://api.github.com/users/piccolbo/followers","following_url":"https://api.github.com/users/piccolbo/following{/other_user}","gists_url":"https://api.github.com/users/piccolbo/gists{/gist_id}","starred_url":"https://api.github.com/users/piccolbo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piccolbo/subscriptions","organizations_url":"https://api.github.com/users/piccolbo/orgs","repos_url":"https://api.github.com/users/piccolbo/repos","events_url":"https://api.github.com/users/piccolbo/events{/privacy}","received_events_url":"https://api.github.com/users/piccolbo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-01T18:53:25Z","updated_at":"2015-06-01T20:49:38Z","closed_at":"2015-06-01T20:39:07Z","body":"Hi\r\nI installed rJava on Yosemite following these instructions\r\nhttp://andrewgoldstone.com/blog/2015/02/03/rjava/\r\n\r\nwhich means I have both Oracle java 1.8 and the apple version, 1.6. Everything worked until I installed R 3.2. Now jfindClass doesn't find a class that I know is there (because it did work and because I checked with jar) It appears rJava is picking up 1.6\r\n\r\n```\r\nJ(\"java.lang.System\")$getProperty(\"java.version\")\r\n[1] \"1.6.0_65\"\r\n```\r\n\r\nThis is unexpected. Installing 1.6 was supposed to be a workaround for a 1.8 bug, but it should be using the more recent version.\r\nI did a javareconf, but it doesn't solve the issue. I tried to build rJava from source, but it can't find javac. It seems like there is an additional \"jre\" in the path it is using to access javac. java and javac are on the search path (1.8 version). If I change java home, I can get the build past the javac problem, but then it fails with \"One or more JNI types differ from the corresponding native type. You may need to use non-standard compiler flags or a different compiler in order to fix this.\"\r\n\r\nThe rub is that to reproduce the process that worked, I need to uninstall the second java I installed. Opinions on how to achieve that are many.  Any suggestions?\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/s-u/rJava/issues/comments/107702877","html_url":"https://github.com/s-u/rJava/issues/47#issuecomment-107702877","issue_url":"https://api.github.com/repos/s-u/rJava/issues/47","id":107702877,"user":{"login":"s-u","id":2073427,"avatar_url":"https://avatars.githubusercontent.com/u/2073427?v=3","gravatar_id":"","url":"https://api.github.com/users/s-u","html_url":"https://github.com/s-u","followers_url":"https://api.github.com/users/s-u/followers","following_url":"https://api.github.com/users/s-u/following{/other_user}","gists_url":"https://api.github.com/users/s-u/gists{/gist_id}","starred_url":"https://api.github.com/users/s-u/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-u/subscriptions","organizations_url":"https://api.github.com/users/s-u/orgs","repos_url":"https://api.github.com/users/s-u/repos","events_url":"https://api.github.com/users/s-u/events{/privacy}","received_events_url":"https://api.github.com/users/s-u/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T20:49:38Z","updated_at":"2015-06-01T20:49:38Z","body":"If you have to use `-e` then you simply don't have permissions to update the config file in `R_HOME`. If you need to use `DYLD_*` then check the ID of the `libjvm` library - it may be missing the path."}}