" It is not like a gun put on the head to make them use it."
From what I understand, a lot of universities do force students to use Java for many introductory courses, mine included (though we're migrating to Python.)
Exposure to different subjects is good, but there are better, cleaner languages to use for introducing concepts of programming such as variables, functions, algorithms, and data structures without taking up students' attention with syntax and boilerplate that has nothing to do with the lesson being taught.
Compare these hello world programs for instance:
Java:
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
From what I understand, a lot of universities do force students to use Java for many introductory courses, mine included (though we're migrating to Python.)