-
Notifications
You must be signed in to change notification settings - Fork 0
MAC Info
vasanthsumanath edited this page Feb 6, 2020
·
13 revisions
$ git init
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
update Xcode command line tool
$ xcode-select --install
System Preferences > Security & Privacy > Screen Recording
Enable the Display Drivers
Below link will be of help Click Here
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Get the tar file for Mac from here
-
untar the download
tar -xvf openjdk-11.0.2_osx-x64_bin.tar.gz
-
Move the extract to /Library/Java/JavaVirtualMachines/
sudo mv jdk-11.0.2.jdk/ /Library/Java/JavaVirtualMachines/
- Install Java V8 as its a pre requisite for Kafka when installed using Brew as of 6th Feb 2020
_kafka: Java 1.8 is required to install this formula._
_Install AdoptOpenJDK 8 with Homebrew Cask:_
_brew cask install homebrew/cask-versions/adoptopenjdk8_
_Error: An unsatisfied requirement failed this build._
- Install Java V8 using brew as shown below
brew cask install homebrew/cask-versions/adoptopenjdk8
- Install Kafka using brew
brew install kafka
/usr/libexec/java_home -V