when i took math courses, we used maple, and R (for statistics)
engineering courses i took focused on matlab, and C (for embedded microcontrollers)
I never use java as 'domain-specific-language' for those projects.
The intro to CS was java; however, i took C for engineering course for uni requirement (counted as intro to cs)