ExtendScript is case-sensitive:
j is not J
Look here online in the DOM (Document Object Model) documentation:
Adobe InDesign CS6 (8.0) Object Model JS: Text
So this will work:
myTable.cells.everyItem().texts[0].justification = Justification.CENTER_ALIGN;
Best download the CHM file version of the documentation (for best searchability offline) from here:
Jongware did a fabulous job to create them…
Uwe