LeBron James will play for the Nets next season.