{"action":"created","issue":{"url":"https://api.github.com/repos/OHDSI/SqlRender/issues/28","repository_url":"https://api.github.com/repos/OHDSI/SqlRender","labels_url":"https://api.github.com/repos/OHDSI/SqlRender/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/OHDSI/SqlRender/issues/28/comments","events_url":"https://api.github.com/repos/OHDSI/SqlRender/issues/28/events","html_url":"https://github.com/OHDSI/SqlRender/issues/28","id":142649712,"number":28,"title":"need help with installation ","user":{"login":"writetoritu","id":8104269,"avatar_url":"https://avatars.githubusercontent.com/u/8104269?v=3","gravatar_id":"","url":"https://api.github.com/users/writetoritu","html_url":"https://github.com/writetoritu","followers_url":"https://api.github.com/users/writetoritu/followers","following_url":"https://api.github.com/users/writetoritu/following{/other_user}","gists_url":"https://api.github.com/users/writetoritu/gists{/gist_id}","starred_url":"https://api.github.com/users/writetoritu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/writetoritu/subscriptions","organizations_url":"https://api.github.com/users/writetoritu/orgs","repos_url":"https://api.github.com/users/writetoritu/repos","events_url":"https://api.github.com/users/writetoritu/events{/privacy}","received_events_url":"https://api.github.com/users/writetoritu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-22T13:26:04Z","updated_at":"2016-03-22T18:24:15Z","closed_at":null,"body":"I am using install_github(\"ohdsi/SqlRender\") to install this package in RStudio. \r\n\r\nPlease see the following error messages: \r\n\r\n```\r\n** testing if installed package can be loaded\r\nJavaVM: requested Java version ((null)) not available. Using Java at \"\" instead.\r\nJavaVM: Failed to load JVM: /bundle/Libraries/libserver.dylib\r\nJavaVM FATAL: Failed to load the jvm library.\r\nError : .onLoad failed in loadNamespace() for 'SqlRender', details:\r\n  call: .jinit()\r\n  error: JNI_GetCreatedJavaVMs returned -1\r\n\r\nError: loading failed\r\nExecution halted\r\nERROR: loading failed\r\n* removing ‘/Users/kharer/Library/R/3.2/library/SqlRender’\r\nError: Command failed (1)\r\n\r\n```\r\n\r\nThank you for your help. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/OHDSI/SqlRender/issues/comments/199950647","html_url":"https://github.com/OHDSI/SqlRender/issues/28#issuecomment-199950647","issue_url":"https://api.github.com/repos/OHDSI/SqlRender/issues/28","id":199950647,"user":{"login":"writetoritu","id":8104269,"avatar_url":"https://avatars.githubusercontent.com/u/8104269?v=3","gravatar_id":"","url":"https://api.github.com/users/writetoritu","html_url":"https://github.com/writetoritu","followers_url":"https://api.github.com/users/writetoritu/followers","following_url":"https://api.github.com/users/writetoritu/following{/other_user}","gists_url":"https://api.github.com/users/writetoritu/gists{/gist_id}","starred_url":"https://api.github.com/users/writetoritu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/writetoritu/subscriptions","organizations_url":"https://api.github.com/users/writetoritu/orgs","repos_url":"https://api.github.com/users/writetoritu/repos","events_url":"https://api.github.com/users/writetoritu/events{/privacy}","received_events_url":"https://api.github.com/users/writetoritu/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T18:24:15Z","updated_at":"2016-03-22T18:24:15Z","body":"So, finally I was able to install sqlrender using the following links to help with the abovementioned issues: \r\n- http://stackoverflow.com/questions/35179151/cannot-load-r-xlsx-package-on-mac-os-10-11\r\n- https://oliverdowling.com.au/2015/10/09/oracles-jre-8-on-mac-os-x-el-capitan/ \r\n\r\nI had to install the legacy version of java to make things work. \r\n\r\nThanks! "}}