If you can find an answer to this question, then you can answer the question concerning the perpetual virginity of Mary and her relationship to Joseph.
First let us clarify that Jesus’ brothers were called James, Joseph, Simon and Judas.
Jesus had twelve apostles whose names were:
Jesus had two apostles called James: The older one was the son of Zebedee and the younger one the son of Alphaeus. The other son of Zebedee was John.
There were two apostles called Simon: Simon son of John who became Peter and Simon the Zealot The other son of John was Andrew.
There were three apostles called Judas: Judas son of James or Thaddeus; Judas Iscariot; Judas known as Thomas
Thomas or Talmai means ‘twin’ in Aramaic. His name was not twin, but Judas. Bartholomew is bar-talmai which means ‘son of twin’. This apostle’s actual name was Nathaniel.
The other apostles were Matthew also called Levi, Philip and Matthias who replaced Judas Iscariot. This totals twelve apostles plus one.
Basically there are three people here called James and four people called Judas. If we can identify who ‘Judas son of James’ was, then the key questions can be answered.