• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Using lotus.domino package

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
reply
    Bookmark Topic Watch Topic
  • New Topic