There are a total of 2 * 6 = <<2*6=12>>12 slices of pizza.
Since James ate 2/3 of all the slices, he ate 2/3 * 12 = <<2/3*12=8>>8 slices of pizza.
#### 8