Replaying a Java RMI Application

  1. Remove the recorded API calls JavaSetOption(JAVA_CLASSPATH) and JavaSetOption(JAVA_CMDLINE_OPTIONS) from the BDL script.
  2. Obtain the JAR and CLASS files from the server. Use the recorded comments in the recorded Java source code to find the JAR and CLASS files.

    The comments look as described in the following example.

    // ###ClassPath###
    // ###Applet CodeBase###
    // ###Applet parameters queried by the Applet###
      // codebase=...
      // archives=...
      // code=...
    
    
  3. Copy these files to your local machine.
  4. Add the path to these files to the classpaths in Settings > System > Java.