To Call Java from Reports
1. Click Data > Format Report. The Format report dialog box opens.
2. Click the Column tab.
3. Click Add <Label> Column.
4. Specify the user-defined method to invoke in the Parameter Format box.
5. Specify a column heading for the Java column in the Column Heading box.
* 
The method to call must be declared as public static String, taking the first parameter as an artifact and zero or more parameters of type String. Ensure that the number of String parameters in this syntax is the same as the number of parameters in the method declaration. Otherwise, Java system does not find the required method.
6. Run the report.