Release 10.1A: OpenEdge Development:
Open Client Introduction and Programming

> ## Java tab

> The Java tab is enabled if Java is selected in the Client Proxy to Generate field on the General tab. The Java tab has the following fields for setting Java proxy options:

> - Package — Enter the package name to use as the root directory for generating the classes in the Java proxy.

> - Compiler — These radio buttons allow you to specify one of the following compilers to use for generating a Java proxy:

> - Default javac — ProxyGen uses the JavaSoft `javac` compiler installed by OpenEdge.
> - Custom — You specify an alternate Java compiler for proxy generation.

> To make your code more portable, consider using your `PATH` environment variable for finding the Java compiler only by executable name. Doing this also allows you to install the JDK for each platform in vendor-specified default directories, without causing your application code to fail when moving from one platform to another.

> - Compiler Command — If Default javac is selected in the Compiler field, the Compiler Command field is read-only and displays the appropriate compiler command.

> If Custom is selected in the Compiler field, you can modify the Compiler Command setting as appropriate for your compiler choice. You must specify the full path or a path that is relative to the system path.

> - Classpath Switch — This field specifies the compiler option used to specify the classpath. If Default javac is selected in the Compiler field, this field is read-only and displays the appropriate classpath switch. If Custom is selected in the Compiler field, you can set this value appropriately for your compiler.

> - Classpath — This field specifies the actual classpath. If Default javac was selected in the Compiler field, this field is read-only and displays the appropriate classpath. If Custom is selected in the Compiler field, you can set this value appropriately for your compiler.

> Caution: The Classpath includes these Progress class libraries: `progress.jar` and `messages.jar`. The initially displayed value in the Classpath field is the one required for proxy generation. Never change this portion of the Classpath. Instead, append any additional values to the end.

> - Compiler Options — You can set other compiler options (in addition to the Classpath) for any selected compiler.

> Caution: Do not set the Classpath in Compiler Options, or it overrides the default values required for proxy generation.

> For directory paths, symbolic references (indicated by `<>`) often are used in place of actual values. These references are resolved during proxy generation.

> When ProxyGen is run on UNIX, all directories and filenames are converted automatically to UNIX format. ProxyGen uses symbolic references in several generation options, to allow the greatest portability for the project file, particularly when the file will be used on UNIX.

> The symbolic references and their expanded values are shown in the following table:

>     <Default classes.zip>
> | Windows: `$DLC\jdk\lib\classes.zip` UNIX: `$JDKCP`
>     <Install Dir>
> | Windows: `$DLC` UNIX: `$DLC`
>     <Proxy Dir>
> | The Output Dir value specified on the Generate dialog box of ProxyGen. We recommend you always leave this symbolic reference and change the Output Dir value on the Generate dialog box to alter the proxy output directory.

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095