Not able to import jar using java importer in oracle forms
I want to call a java class which in turn using import statement for other classes. Example is
import java.io.IOException;
import java.io.*;
import org.apache.pdfbox.pdmodel.*;
import org.apache.pdfbox.pdmodel.font.*;
public class ABC {
private static void method1(String argu1, String argu2) throws IOException {
// having logic which uses the imported classes
}
public static void main(String[] args) {
// having logic which uses the imported classes and calls method1
}
}
I am using 'pdfbox-app-3.0.1.jar' as dependency for above class ABC. I placed both the class ABC and pdfbox-app-3.0.1.jar file at /java location where oracle forms is installed and ensured that the path is present in forms_builder_classpath also.