Adding conditional java_version to liferay