gf-client.jar can work only from a pre-installed GlassFish because what it does is reference the rest of jars one might need on a client from its manifest Class-Path entry. For compilation (unless you need GlassFish specific classes), javaee.jar is enough.
-marina
[Message sent by forum member 'mvatkina']
http://forums.java.net/jive/thread.jspa?messageID=486010