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