If you use Eclipse and you create your own project, you may be
prompted to make up a Module Name. The safest thing to do is to
click the Don't Create button. If you make up a name and
click the Create button, Eclipse might refuse to run
your code. (Modules can't contain files that aren't in named
packages. So, if you haven't gotten around to putting your files
in named packages, your code won't run.) One way or another, if
your project contains a file named module-info.java,
delete that file.
The best place to get the Java JDK is https://adoptium.net.
I suggest downloading Java 11, but almost any version of Java
should work.
ERRATA: In Listing 10-2, the first line in the body of the TeamFrame
constructor should be Player player; (not simply Player;).