NotesSession in a class

Exception in thread in “Main” java.lang.UnsatisfiedLinkError: NCreateSession at lotus.domino.local.Session.NCreateSession(Native Method)

at lotus.domino.local.Session.createSession(Session.java:94)

at lotus.domino.NotesFactory.createSession(Unknown Source)

at stamper.main(stamper.java:65)

Okee dokeeException in thread in “Main” java.lang.UnsatisfiedLinkError: NCreateSession

at lotus.domino.local.Session.NCreateSession(Native Method)

at lotus.domino.local.Session.createSession(Session.java:94)

at lotus.domino.NotesFactory.createSession(Unknown Source)

at stamper.main(stamper.java:65)

The question is …

Who knows what might be missing to cause this?

TIA,

Collin

Subject: NotesSession in a class

You could try this thread for starters:

http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/09d002fc5f39665e85256f270064f435?OpenDocument

If that doesn’t give you any joy, post a sample of your code, and details of the environment it is running in.

HTH - Rufus.

Subject: NotesSession in a class- Solution

I had similar error & got it resolved.Write a simple Java Program & print the value of System.getProperty(“java.library.path”);

Compare if your Lotus Notes,data path are present in the output of above program. If not add both to “path” section of your system environment variables

Secondly add the Notes.jar path into the classpath…

wait for some time…till the paths gets updated…then try your program again