Purana Jyotisha Sangraha · by Vyasa
Chapter 1 · Konark and Godavari Tirthas
ब्रह्मपुराणम् : गोदावरीतीरे ग्रहतीर्थानि कोणार्कश्च
बृहस्पतिः सुरैः पूजां तस्मात्तीर्थादवाप ह ।ईजे च यज्ञान्विविधान्बार्हस्पत्यं ततो विदुः ॥ २४ ॥
From the Brahma Purana, print ch 174, verse 24.
From that tirtha (holy bathing place) Jupiter got worship from the gods. He also did many sacrifices. So they call it Barhaspatya.
Simple meaning: Jupiter got the gods' worship at this place, so it is called Barhaspatya.
तस्मादाग्नेयमाख्यातमादित्यं तदनन्तरम् ।
After Agneya comes Aditya, where the Sun comes always to worship.
रूपान्तरेण मध्याह्ने द्रष्टुं मां शंकरं हरिम् ।
The Sun may come there at midday in any form, so every person there is to be honoured.
रूपेण केन सविता समायातीत्यनिश्चयात् ।
Aditya is named because the Sun's form is uncertain. Then comes Barhaspatya.