donnemartin / dev-setup

macOS development environment setup: Easy-to-understand instructions with automated setup scripts for developer tools like Vim, Sublime Text, Bash, iTerm, Python data analysis, Spark, Hadoop MapReduce, AWS, Heroku, JavaScript web development, Android development, common data stores, and dev-based OS X defaults.
Other
6.13k stars 1.15k forks source link

Java 1.7+ Needed for brew.sh's Pour aircrack-ng #32

Open audiolion opened 8 years ago

audiolion commented 8 years ago

==> Pouring aircrack-ng-1.1_2.el_capitan.bottle.tar.gz ==> Caveats Run airodump-ng-oui-update install or update the Airodump-ng OUI file. ==> Summary 🍺 /usr/local/Cellar/aircrack-ng/1.1_2: 34 files, 952.8K bfg: 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.

As far as I am aware none of the prior scripts in the instructions take care of installing Java, should either include this or list it as a prereq in docs.

It seems when the brew gets to the iterm2 section it will install the latest java by default as well.

donnemartin commented 8 years ago

Thanks for the report. Java is installed later in the file, it seems this line might need to be moved up:

https://github.com/donnemartin/dev-setup/blob/master/brew.sh#L145

wildone commented 8 years ago

ive fixed this in my pull request