Exporting Java

About this task

You can export the Java code you wrote in a Java agent or Java script library to the file system.

Procedure

  1. Make sure the code compiles and runs as expected.
  2. With the Java agent or script library open in the programmer's pane, click Export.

    The Choose Base Directory dialog box displays.

  3. Select the directory you want to save the Java code to.
  4. Click Ok.

    The resulting file is called "JavaAgent.java."

Results

For details on exporting Java applets, see "Refreshing and exporting applet files."