Allow java::install where package is not empty

Default selector was for $book_jdk rather than for $package.