First investigate the specifications of the Java class and interface to be used (class name, package name, usage, and so on) to check whether the J adapter class generator can handle the class and interface. See "1.2 What the J Adapter Class Generator Can Do" and "1.3 What the J Adapter Class Generator Cannot Do" for information on which classes and interfaces can be used.