To deploy a client application that uses a Java proxy, you must first perform the following steps in the specified order, on the system where you plan to run the application:

  1. Install a Java Virtual Machine (JVM). For more information on the available Java run-time environment (JRE) for your platform, see the sections on Java requirements in Install OpenEdge.
  2. Copy the required files for the client application and proxy to the deployment system:
    1. Copy the client application.
    2. Copy the proxy .class files to a directory that mirrors the package hierarchy specified for generation of the proxy in the Java Client Details group of the ProxyGen Generate Proxies dialog box. The package name implies a directory structure that you must maintain when you copy the proxy. You should bundle the class files into a .jar file and add the .jar file to your CLASSPATH.
    3. Copy the same Java Open Client Runtime package that you used to build the application to any directory on your system. See Build an Open Client application that uses a Java proxy.
    4. Copy the supporting .jar files listed in Java Open Client Runtime package to the same directory where you copied the Open Client runtime package in step 2c.
  3. Update the CLASSPATH setting for the Java environment that will run the client application to include the following:
    1. The client application classes.
    2. The directory containing the proxy (.class files) or the .zip or .jar file from . For class files, this is the directory above the package hierarchy.
    3. The Open Client Runtime package and third-party jar files you copied in Step 2.
      Note: The mechanism to update the CLASSPATH setting depends on the Java environment you are using. For instructions on updating CLASSPATH, see the documentation for your Java environment.
  4. If you use HTTPS (TLS), copy your digital certificates to the location required by your application. The Open Client Toolkit includes the certificate management tool (procertm utility), which provides a way to import, export and remove certificates to and from .jar and .zip files. See Secure server connections to Java Open Clients.
  5. Run your Java Open Client application as designed.