I have a painful knee but have found that I can run pretty far by a) disregarding any interest in speed (10-12 minute miles) and b) paying careful attention to landing on my forefoot, the ball of my foot, rather than any part of my foot behind there.