The absolute magnitude of Jupiter is at best +26 (give or take, depending on how you look at it). The absolute magnitude of the Sun is +4.8. There is a 21 magnitudes difference between them, or a ratio of 2.5 * 10^8 (250 million times brighter), which is huge.
From a 10 parsec distance (basically in our galactic neighborhood, where most visible stars are), the Sun and Jupiter would be approx 0.5 arcsec from each other at best, which is a very tiny angular distance, and there would also be the mentioned 250 mil brightness ratio (or more). It would be very difficult to tell Jupiter from the glare of the Sun with current technology.
At that distance, apparent magnitude and absolute magnitude are equal. So the Sun would be a +5 star (difficult to see with the naked eye, but doable in a dark sky), whereas Jupiter would be a +26 object, impossible to see except in a very large telescope (assuming it would be far from any star, which is NOT the case).
TLDR: Even from not far away, Jupiter would be quickly overwhelmed by Sun's glare, and would be pretty weak anyway.