The murder of rap legend Tupac Shakur will formally be examined in a criminal court for the first time.