Java client details
- Last Updated: January 16, 2024
- 2 minute read
- OpenEdge
- Version 12.8
- Documentation
Java client details
The Java client type generates executable proxies in the form of Java .class files.
Client Details for the Java client type displays the following generation settings:
- Package — Enter the package name to use as the root directory for generating the classes in the Java proxy.
-
Compiler — Enter the compiler to use for generating a
Java proxy. This will initialize to the
javacfor thejdkyou specified during the installation. Use the button to specify a an alternate Java compiler for proxy generation.To make your code more portable, consider using your
PATHenvironment 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 is 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.
Note: The Classpath includes the ABL
class libraries
o4glrt.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.
Note: Do not set the Classpath in Compiler
Options, because doing so overrides the default values required for proxy
generation.