Hi,
In short, you need to specify the classpath where
Java supposed to look for imported classes. As you see error message suggests, that it can't find TextBook. It is because it doesn't know how to find a package "library".
Give a shot yourself first after researching a bit how to set the classpath during the compile and later run. If there are more locations to specify, classpath separators differ from OS to OS, or more precisely, from Windows to UNIX-like OS.