Use the IBM® i Java™ Transform
and Run view to transform and run Java programs on a remote IBM i server.
Before you begin
It is not necessary to transform a class file prior to running it;
the
IBM i server
creates a program for you every time a new, or refreshed, class is run. You
can control the size and performance of a Java program by using transform options.
Before you can transform, you must export your class files to an
IBM i integrated
file system directory.
About this task
To transform your Java program:
Procedure
- Switch to the IBM i Java Transform
and Run view:
- In the main menu, select .
- Expand IBM i and select i Java Transform
and Run.
- To populate the Working Folder field, click Browse to
select a directory in the Browse For Folder window.
- Optional: Click Advanced Options to
fine-tune your transform. Select the options you want and click OK.
Options are described in the related references below.
- Click the Create i Java
program tab.
- Expand the folder in the left pane and select the classes in the
right pane that you want to transform. Note that you can select classes (or
JAR files, if you select Allow JAR files) from multiple
folders.
- Click CRTJVAPGM to have IBM i Java programs created for the selected classes. The
log confirms success or informs you of any errors.
- At any time during the transform, you can click Stop.
Use Refresh to refresh the file list. Use Clear
Log to clear the Log field.