2016-11-29 1 views
0

내가 검색 엔진을 설치 elasticsearch OS X에서 10.11.6(통, 양조-통

원하는 동안 내 명령 줄

brew install elasticsearch 

some blog

읽기 오류가 발생하며 오류를 보여 필요 자바)

elasticsearch: Java 1.7+ is required to install this formula. 
You can install with Homebrew Cask: 
    brew install Caskroom/cask/java 

You can download from: 
    http://www.oracle.com/technetwork/java/javase/downloads/index.html 
Error: An unsatisfied requirement failed this build. 

나는이 블로그의 솔루션 흐름

brew tap caskroom/cask 

및 표시

Warning: Tap caskroom/cask already tapped. 

초 명령

brew install brew-cask 

가 오류

Error: No available formula with the name "brew-cask" 
==> Searching for similarly named formulae... 
Error: No similarly named formulae found. 
==> Searching taps... 
This formula was found in a tap: 
Caskroom/cask/brew-cask-completion 
To install it, run: 
    brew install Caskroom/cask/brew-cask-completion 
==> You haven't updated Homebrew in a while. 
A formula for brew-cask might have been added recently. 
Run `brew update` to get the latest Homebrew updates! 

보여 제가

에게 자바 설치 0

하지만 통은

==> brew cask install Caskroom/cask/brew-cask-completion 
Error: Unknown command: cask 

설치하지 않으며, 일부 블로그 나에게 왜 사실 내가 이해할 수없는 경우 오류

Error: No available formula with the name "brew-cask" 

을 보여 조언

brew upgrade brew-cask 

을주고 내 맥이 캐스 크를 찾을 수 없다 ...

pleas

답변

0

문제는 내가 업데이트 양조 할 필요가 해결 helpme 전자 누군가

brew update 
관련 문제