While on the campus network you can access a huge collection of Safari Books Online. A relevant one is this one.
Please remember that Java is free and open. You can easily download JDK to your system, so you can both compile and run any examples. I encourage to do so.