{"action":"closed","issue":{"url":"https://api.github.com/repos/ckan/ckan/issues/2189","labels_url":"https://api.github.com/repos/ckan/ckan/issues/2189/labels{/name}","comments_url":"https://api.github.com/repos/ckan/ckan/issues/2189/comments","events_url":"https://api.github.com/repos/ckan/ckan/issues/2189/events","html_url":"https://github.com/ckan/ckan/issues/2189","id":53688621,"number":2189,"title":"Update documentation telling to manually install JDK before installing solr","user":{"login":"opensas","id":481687,"avatar_url":"https://avatars.githubusercontent.com/u/481687?v=3","gravatar_id":"","url":"https://api.github.com/users/opensas","html_url":"https://github.com/opensas","followers_url":"https://api.github.com/users/opensas/followers","following_url":"https://api.github.com/users/opensas/following{/other_user}","gists_url":"https://api.github.com/users/opensas/gists{/gist_id}","starred_url":"https://api.github.com/users/opensas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opensas/subscriptions","organizations_url":"https://api.github.com/users/opensas/orgs","repos_url":"https://api.github.com/users/opensas/repos","events_url":"https://api.github.com/users/opensas/events{/privacy}","received_events_url":"https://api.github.com/users/opensas/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"joetsoi","id":241130,"avatar_url":"https://avatars.githubusercontent.com/u/241130?v=3","gravatar_id":"","url":"https://api.github.com/users/joetsoi","html_url":"https://github.com/joetsoi","followers_url":"https://api.github.com/users/joetsoi/followers","following_url":"https://api.github.com/users/joetsoi/following{/other_user}","gists_url":"https://api.github.com/users/joetsoi/gists{/gist_id}","starred_url":"https://api.github.com/users/joetsoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joetsoi/subscriptions","organizations_url":"https://api.github.com/users/joetsoi/orgs","repos_url":"https://api.github.com/users/joetsoi/repos","events_url":"https://api.github.com/users/joetsoi/events{/privacy}","received_events_url":"https://api.github.com/users/joetsoi/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-01-07T22:07:57Z","updated_at":"2015-01-13T13:00:15Z","closed_at":"2015-01-13T13:00:15Z","body":"Following the instructions in http://docs.ckan.org/en/latest/maintaining/installing/install-from-source.html#setting-up-solr\r\n\r\nOn Ubuntu 12.04 you get the following error:\r\n\r\n> HTTP ERROR 500\r\n> Problem accessing /solr/. Reason:\r\n>     Unable to find a javac compiler;\r\n> com.sun.tools.javac.Main is not on the classpath.\r\n> Perhaps JAVA_HOME does not point to the JDK.\r\n> It is currently set to \"/usr/lib/jvm/java-6-sun-1.6.0.26/jre\"\r\n\r\nThe problem is that Solr package in ubuntu is missing the jdk as a dependency. This is a known issue (see https://bugs.launchpad.net/ubuntu/+source/solr/+bug/901165) and the correct workaround it to manually install the jdk running\r\n\r\n```\r\nsudo apt-get install openjdk-6-jdk\r\n```\r\nA note should be added to the documentation to troubleshoot this issue.\r\n"}}