Abstract To investigate the interactions between both the static and rotating resonant magnetic perturbations (RMP) and the tokamak plasma, two sets of coils, namely static RMP (SRMP) and dynamic RMP (DRMP), are constructed on the J-TEXT tokamak. SRMP is reconstructed from TEXT-U and mainly produces static m/n=1/1, 2/1 and 3/1 resonant perturbation field, where m and n are the poloidal and toroidal mode numbers, respectively. DRMP, newly designed and installed inside the vacuum vessel, can generate pure 2/1 RMP. DRMP is also designed to operate in the AC mode and can produce rotating 2/1 RMP which will be used to study the tearing mode control. Due to the effect of the eddy current in the vacuum vessel wall, the amplitudes of the 2/1 component will be attenuated to about 1/3.6 of the DC value when the operation frequency is larger than 500Hz. However, DRMP can still provide sufficient large rotating 2/1 perturbation for tearing mode related studies.