Adenine derivatives of general formula I and pharmaceutically acceptable salts thereof with alkali metals, ammonia, amines, or addition salts with acids, wherein R2 is hydrogen or halogen; R6 is selected from - heteroarylalkyl with 6-membered aromatic ring containing at least one heteroatom selected from O, S whereas other atoms of the ring are carbon atoms, wherein the alkyl contains 1 to 4 carbon atoms, whereas the heteroarylalkyl is unsubstituted or substituted by at least one substituent selected from the group C1-C4 alkyl, mercapto(C1-C4)alkyl,formyl, acetyl, halogen, carboxyl, amino, di(C1-C4)alkylamino, amino(C1-C4)alkyl; - heteroarylalkyl with 5-membered aromatic ring containing at least one heteroatom S whereas other atoms of the ring are carbon atoms, wherein the alkyl contains 1 to 4 carbon atoms, whereas the heteroarylalkyl is unsubstituted or substituted by at least one substituent selected from the group C1-C4 alkyl, mercapto(C1-C4)alkyl,formyl, acetyl, halogen, carboxyl, amino, di(Cl-C4)alkylamino, amino(C1-C4)alkyl; - heterocyclylalkyl with 5- to 6- membered aliphatic ring containing at least one heteroatom selected from O, S whereas other atoms of the ring are carbon atoms, the alkyl contains 1 to 4 carbon atoms, whereas the heterocyclylalkyl is unsubstituted or substituted by at least one substituent selected from the group C1-C4 alkyl, mercapto(C1-C4)alkyl, formyl, acetyl, halogen, carboxyl, amino, di(C1-C4)alkylamino, amino(C1-C4)alkyl. R2 is hydrogen or halogen; R6 is selected from - heteroarylalkyl with 6-membered aromatic ring containing at least one heteroatom selected from O, S whereas other atoms of the ring are carbon atoms, wherein the alkyl contains 1 to 4 carbon atoms, whereas the heteroarylalkyl is unsubstituted or substituted by at least one substituent selected from the group C1-C4 alkyl, mercapto(C1-C4)alkyl,formyl, acetyl, halogen, carboxyl, amino, di(C1-C4)alkylamino, amino(C1-C4)alkyl; - heteroarylalkyl with 5-membered aromatic ring containing at least one heteroatom S whereas other atoms of the ring are carbon atoms, wherein the alkyl contains 1 to 4 carbon atoms, whereas the heteroarylalkyl is unsubstituted or substituted by at least one substituent selected from the group C1-C4 alkyl, mercapto(C1-C4)alkyl,formyl, acetyl, halogen, carboxyl, amino, di(Cl-C4)alkylamino, amino(C1-C4)alkyl; - heterocyclylalkyl with 5- to 6- membered aliphatic ring containing at least one heteroatom selected from O, S whereas other atoms of the ring are carbon atoms, the alkyl contains 1 to 4 carbon atoms, whereas the heterocyclylalkyl is unsubstituted or substituted by at least one substituent selected from the group C1-C4 alkyl, mercapto(C1-C4)alkyl, formyl, acetyl, halogen, carboxyl, amino, di(C1-C4)alkylamino, amino(C1-C4)alkyl. - heteroarylalkyl with 6-membered aromatic ring containing at least one heteroatom selected from O, S whereas other atoms of the ring are carbon atoms, wherein the alkyl contains 1 to 4 carbon atoms, whereas the heteroarylalkyl is unsubstituted or substituted by at least one substituent selected from the group C1-C4 alkyl, mercapto(C1-C4)alkyl,formyl, acetyl, halogen, carboxyl, amino, di(C1-C4)alkylamino, amino(C1-C4)alkyl; - heteroarylalkyl with 5-membered aromatic ring containing at least one heteroatom S whereas other atoms of the ring are carbon atoms, wherein the alkyl contains 1 to 4 carbon atoms, whereas the heteroarylalkyl is unsubstituted or substituted by at least one substituent selected from the group C1-C4 alkyl, mercapto(C1-C4)alkyl,formyl, acetyl, halogen, carboxyl, amino, di(Cl-C4)alkylamino, amino(C1-C4)alkyl; - heterocyclylalkyl with 5- to 6- membered aliphatic ring containing at least one heteroatom selected from O, S whereas other atoms of the ring are carbon atoms, the alkyl contains 1 to 4 carbon atoms, whereas the heterocyclylalkyl is unsubstituted or substituted by at least one substituent selected from the group C1-C4 alkyl, mercapto(C1-C4)alkyl, formyl, acetyl, halogen, carboxyl, amino, di(C1-C4)alkylamino, amino(C1-C4)alkyl.