Hi,
Lotus notes is installed at my pc. domino server is at "Crisdev" server. I am running the following program from my machine.
import lotus.domino.*;
public class platform1 extends NotesThread
{
public static void main(
String argv[])
{
platform1 t = new platform1();
t.start();
}
public void runNotes()
{
try
{
Session s = NotesFactory.createSession("crisdev","bmember1","domino");
///To bypass Readers fields restrictions
// Session s = NotesFactory.createSessionWithFullAccess();
String p = s.getPlatform();
System.out.println("Platform = " + p);
}
catch (Exception e)
{
e.printStackTrace();
}
}
}
The program compiles well when I includes Notes.jar file in classpath. But it does not run. It give me following exception on running.
D:\CRISIL-Projects\database>
java platform1
Exception in
thread "Thread-0" java.lang.UnsatisfiedLinkError: no nlsxbe in java
.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at lotus.domino.NotesThread.load(NotesThread.java:281)
at lotus.domino.NotesThread.checkLoaded(NotesThread.java:301)
at lotus.domino.NotesThread.initThread(NotesThread.java:139)
at lotus.domino.NotesThread.run(NotesThread.java:197)
Hey any suggestions please.
Thanks and Regard
Mahesh Malviya