Jrue Holiday and Justin Holiday are both free agents this offseason and they have interest in playing on the same team.

“If we can play together, that would be a dream come true and we’d be successful doing it,’’ Justin Holiday told The Post on Friday. “We both want to win and both know each other’s game in and out. We both know what we’re going to get from each other when we play together. It just makes sense.

“I’m not saying just because he’s my brother,’’ Holiday added. “But I know when we play together, good things happen because we know each other’s game so well. We do play hard on both ends of the floor. When you have that at both positions, it’s going to help.”

Justin Holiday is 14 months older than Jrue Holiday.

“The best thing for me now is not to stress too much about [free agency],’’ Holiday said. “But as far as playing with my brother goes, it’s obviously a dream of ours.”

The New York Knicks figure to have approximately $25 million in cap space.