TMZ.com
Exclusive

JUDGE MATHIS I'M FIGHTING TO WIN BACK MY WIFE!!!

Judge Greg Mathis is going through it ... hot on the heels of his wife Linda rushing to court to pull the plug on their 39-year marriage.

The TV judge opened up to TMZ at LAX Friday ... making it loud and clear that divorce isn’t what he wants -- adding he's doing everything he can to turn things around and win Linda back while they’re still under the same roof, hoping she’ll have a change of heart.

He admits not making Linda his top priority during his career led to their downfall ... and gives some sound advice to other men on how to avoid the same fate -- which you can check out in the vid.

As for those infidelity rumors, he's also got a thing or two to say about that, too!

TMZ broke the news ... Mathis’ wife, Linda, filed for divorce Thursday, Aug. 22, citing their separation date as July 17 and listing the go-to irreconcilable differences as the reason for the split.

Click here for info about our online advertising practices.