NIFI-184 fixed profile activition to occur only on Java 1.7