search java classes also from the destination directory for any case, if not found otherwise