The Java 2 SDK Developer's Guide for Solaris is not available in the Solaris 7 Software Developer AnswerBook collection, but is available online:
http://www.sun.com/solaris/java
The Java 2 SDK Developer's Guide for Solaris is available in the Download area for the JDK 1.2.1_03 Production Release.