Like all other classes, proxies may contain a package statement. The package for a component proxy class depends upon the package of the component:
The proxy classes for Java DMK components in the javax.management package and its javax.management.* subpackages do not have a package statement.
Their class files may be located in any directory which can then be added to your application's classpath.
The proxy classes for all other components belong to the same class as the component itself. For example, the proxy classes for the RmiConnectorServer component are declared in the com.sun.jdmk.comm package.
Their class files should be contained in the corresponding file hierarchy, whose root can be added to your application's classpath. Therefore, the class files of the RmiConnectorServerProxy should be located in a directory called packageRoot/com/sun/jdmk/comm/.