Created 05-26-2017 05:50 AM
We have a VM with JDK 7 and a number of things depend on it. We are installing NiFi v1.2 but this one is compatible with JDK 8 only. We cannot remove JDK 7 because we cannot risk to break the dependency. Is it possible to install JDK 8 and point NiFi to use this, without changing the JAVA_HOME variable pointing to JDK 7?
Created 05-26-2017 12:15 PM
You can point NiFi directly at the Java 8 java command.
Modify the following line in NiFi's bootstrap.conf file:
# Java command to use when running NiFi java=java
change:
java=java
to:
java=<path to JDK 8>/bin/java
Thanks,
Matt
If you find this answer addressed your question, please mark answer as accepted.
Created 05-26-2017 12:15 PM
You can point NiFi directly at the Java 8 java command.
Modify the following line in NiFi's bootstrap.conf file:
# Java command to use when running NiFi java=java
change:
java=java
to:
java=<path to JDK 8>/bin/java
Thanks,
Matt
If you find this answer addressed your question, please mark answer as accepted.