![]() Run brew search java or brew search jdk command to find your desired java or JDK version.Remote: Total 198 (delta 9), reused 29 (delta 1), pack-reused 0 ![]() Run the below command to install the homebrew cask extension, cask extension tool can help you to install and manage software packages easily.Ĭloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-versions'.Install HomeBrew on your mac os, please read the article How To Install HomeBrew On Mac OS.1.1 Use HomeBrew Cask Command To Install Java JDK. Use HomeBrew To Install & Uninstall Java On Mac OS X. If you have completed all of the above steps, you should be able to now run nifi run and get something similar to below.1. usr/libexec/java_home -V – list all versions of Java on the machineīrew tap caskroom/versions – allow brew to lookup versionsīrew cask install java8 – install java8 (if you haven’t already)īrew cask uninstall java – get rid of the default java9 (not strictly required)Įxport JAVA_HOME=$(/usr/libexec/java_home -v1.8) – set JAVA_HOME to java8 You will need to take the following steps to delete java9 and switch to java8: You can check your java version with java -version. ![]() Next up, try running NiFi via nifi run- I’m getting this error: WARN .Command Launched Apache NiFi but could not determined the Process ID.Īfter some Googling, I determined that we need java8 for NiFi, not java9 (which Homebrew installs by default). Nifi: Java 1.8+ is required to install this formula.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |