Traditional it is viewed that Jesus was the first child of Mary.
However there is a debate on whether or not the "brothers" of Jesus were full or half brothers. He also had a sister.
There is speculation that Josephus had the children other than Jesus by a different wife. This would allow the Catholics to keep the Virgin aspect fully till Mary's death. There is cultural and archeological evidence to support both views.