Police say the two 17-year-old boys were trying to rob a deli in Newark Sunday afternoon.
That's when 41-year-old co-owner Joe Flagg was shot and killed.
Both boys are charged with murder.
Prosecutors say they may seek to have the boys tried as adults.