Oracle Forms (MOSC)

MOSC Banner

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.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center