A novel dictionary learning method for HSI classification is proposed. Rich spectral and spatial information are incorporated into the dictionaries. The JSM is combined with D-KSVD to accommodate the rich information. Extensive experimental results show the effectiveness of the proposed method.