First, it depends on if your using incremental or absolute IJ mode.
The arc starts from the existing position, and ends at the XY coordinates in the G2/G3 comand.
In absolute IJ mode the I is the X coordinate of the arc center, and the J is the Y coordinate of the center.
In In remental mode, the center is specified relative to the end point of the arc.