I need to send/extract emails from Lotus notes using JAVA API. I am using JDK 11 (no other choice is possible)
But there is a problem when I try to create the session:
import lotus.domino.*;
public class TestDomino {
public static void main(String[] args) {
try {
Session s = NotesFactory.createSession();
} catch (NotesException e) {
e.printStackTrace();
}
}
}
I have the following error:
Required type:
Throwable
Provided:
NotesException
Error:(9, 9) java: cannot access org.omg.CORBA.UserException
class file for org.omg.CORBA.UserException not found
Is Lotus notes incompatible with JDK 11?
What is the fast way to make it work properly?