Funnily enough that uni course you are doing would be an ideal place to learn Java. You're gonna be very bored if you learn Java over the summer, but then perhaps you could use your free time to pursue other more interesting work.
First I recommend reading up on Java itself, and its JVM. A very basic intro - unlike Javascript, Java is a compiled language. That is, it has to be compiled before it can be run. Unlike C and C++, its not compiled into native code, but into bytecode. Native code is code that your machine could run directly, bytecode is code that can be run by a virtual machine. Think of a virtual machine as a hypothetical machine that has its own architecture. The virtual machine then runs on your PC. So, instead of writing code for say Windows, you write code for the JVM, which runs on pretty much all platforms and a lot of CPU architectures.
Then, just find a list of tutorials and go through them. Download eclipse or netbeans. Both very easy to use.