We give a simple proof for the fact that algebra generators of the mod 2 cohomology of classifying spaces of exceptional Lie groups are given by Chern classes and Stiefel-Whitney classes of certain representations.