I am trying to write a Java Code that would connect to my Lotus Notes Email CLient. I have been following this tutorial Writing standalone Java code that connects to IBM Lotus Domino
I have added Notes.jar to my classpath and also added NLSXBE.DLL to the system Path variable. Upon trying to run the code below I get error "java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\IBM\Lotus\Notes\nlsxbe.dll: Can't find dependent libraries"
What else am I missing? Can you just give me a hint pls.
System Spec: Win10, JDK8 32 bit
package main;
import lotus.domino.NotesException;
import lotus.domino.NotesFactory;
import lotus.domino.NotesThread;
import lotus.domino.Session;
public class Test_Notes extends NotesThread
{
public static void main(String argv[])
{
System.load("C:/Program Files (x86)/IBM/Lotus/Notes/nlsxbe.dll");
Test_Notes t = new Test_Notes();
t.start();
}
public void runNotes() throws NotesException
{
Session s = NotesFactory.createSessionWithFullAccess();
String p = s.getPlatform();
System.out.println("Platform = " + p);
}
}