CLEVELAND (AP) -- LeBron James struggled from the start in his first game with Cleveland in four years, and the New York Knicks ruined the megastar's emotional homecoming with a 95-90 victory over the Cavaliers on Thursday night.

LeBron James of the Cleveland Cavaliers looks on after a play in the second quarter at Quicken Loans Arena in Cleveland. (Jason Miller, Getty Images)

James, who returned to the Cavs and his native Ohio this summer after winning two NBA titles in Miami, finished with 17 points on 5-of-15 shooting. He also committed eight turnovers and never looked comfortable on a night when the entire city -- and a star-studded crowd -- celebrated his comeback.

Carmelo Anthony scored 25 points and buried a jumper with James in his face with 25 seconds left to give the Knicks a 92-87 lead.

Kyrie Irving scored 22 and Kevin Love added 19 points and 14 rebounds for the Cavs, who have some work to before they can start thinking about any titles.

(Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)