"Love & Hip Hop: Atlanta" star Stevie J has clearly been scared straight by a judge ... because he just proved he's been drug free for 7 weeks -- which means he won't be thrown in jail.
Stevie's facing criminal charges for allegedly owing a baby mama more than a million dollars in child support ... he's free on bail, but a judge ordered him to remain drug free -- or else.
We broke the story ... Stevie failed a drug test in June -- testing positive for coke and weed -- so the judge ordered random testing and drug counseling.
Stevie's lawyer tells us the judge has reviewed Stevie's drug tests over the last 7 weeks and he's clean as a whistle.
As for the million dollars in unpaid child support ... no movement.