The Oozie system environment must have JDK 1.6 or higher. And on the machine where you the run oozie command line, set $JAVA_HOME to a java version of 1.6 or higher.
Calling logj4 has changed in Oozie for HDP 2.2. If you are using custom configurations or Ambari to install, add the following line to oozie-log4j.properties:
log4j.appender.oozie.layout.ConversionPattern=%d{ISO8601} %5p %c{1}:%L - SERVER[${oozie.instance.id}] %m%n
where ${oozie.instance.id} is determined by oozie, automatically.