{"action":"opened","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/34360","repository_url":"https://api.github.com/repos/Homebrew/homebrew-core","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/34360/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/34360/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/34360/events","html_url":"https://github.com/Homebrew/homebrew-core/issues/34360","id":383140005,"node_id":"MDU6SXNzdWUzODMxNDAwMDU=","number":34360,"title":"Elasticsearch 6.5 works with Java 11 as well","user":{"login":"jiripospisil","id":20820,"node_id":"MDQ6VXNlcjIwODIw","avatar_url":"https://avatars0.githubusercontent.com/u/20820?v=4","gravatar_id":"","url":"https://api.github.com/users/jiripospisil","html_url":"https://github.com/jiripospisil","followers_url":"https://api.github.com/users/jiripospisil/followers","following_url":"https://api.github.com/users/jiripospisil/following{/other_user}","gists_url":"https://api.github.com/users/jiripospisil/gists{/gist_id}","starred_url":"https://api.github.com/users/jiripospisil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiripospisil/subscriptions","organizations_url":"https://api.github.com/users/jiripospisil/orgs","repos_url":"https://api.github.com/users/jiripospisil/repos","events_url":"https://api.github.com/users/jiripospisil/events{/privacy}","received_events_url":"https://api.github.com/users/jiripospisil/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-21T14:21:43Z","updated_at":"2018-11-21T14:21:43Z","closed_at":null,"author_association":"NONE","body":"- [x] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh\r\n- [x] have a problem with `brew install` (or `upgrade`, `reinstall`) a single, official formula (not cask)? If it's a general `brew` problem please file this issue at Homebrew/brew: https://github.com/Homebrew/brew/issues/new/choose. If it's a `brew cask` problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.\r\n- [x] ran `brew update` and can still reproduce the problem?\r\n\r\nSince Elasticsearch 6.5 it's possible to use Java 11 as well as Java 8. The [current formula](https://github.com/Homebrew/homebrew-core/blob/38ebd83aeeaa9b42033b1c104813ed1c4a4d6cd9/Formula/elasticsearch.rb#L14) however requires Java 8 and won't let me proceed with the installation. You can see the whole matrix [here](https://www.elastic.co/support/matrix#matrix_jvm).\r\n\r\n```\r\n$ java -version\r\nopenjdk version \"11.0.1\" 2018-10-16\r\nOpenJDK Runtime Environment 18.9 (build 11.0.1+13)\r\nOpenJDK 64-Bit Server VM 18.9 (build 11.0.1+13, mixed mode)\r\n\r\n$ brew info elasticsearch\r\nelasticsearch: stable 6.5.0, HEAD\r\n(...)\r\n\r\n$ brew install elasticsearch\r\nelasticsearch: Java 1.8 is required to install this formula.\r\nJavaRequirement unsatisfied!\r\nYou can install with Homebrew Cask:\r\n brew cask install homebrew/cask-versions/java8\r\nYou can download from:\r\n https://www.oracle.com/technetwork/java/javase/downloads/index.html\r\nError: An unsatisfied requirement failed this build.\r\n``` "}}
{"actor":{"display_login":"jiripospisil"}}