Taking java programming at nearby cc but a sjsu student

Hi I’m trying to become more competive when I apply as a transfer to ucs as a comp sci major since my csu does not offer java programming classes as detailed as those at cc can I take classes at a cc or will it disqualify me