Carmelo Anthony had 21 points and eight rebounds, and the New York Knicks tuned up for the NBA season opener by beating the New Jersey Nets 88-82 on Wednesday night.