[PDI-12524]: Fixed UDJC on Java 7 for Mac