JAVA API for Lotus Notes is not workingfor Lotus8.0.1 on X64 bith machine

Hi,We installed Domino “Lotus Domino 8.0.2” and “Lotus Notes 8.0.1” on X64bit machine.

We are using java API to creating users, sending mails…etc.

The JAVA API worked on 32bit machine without any problem. But on X64 bit with this version we are not able to execute any API calls.

The error we are getting as below:

NotesException: Could not load dll for system name Windows 2003

    at lotus.domino.NotesThread.load(Z)V(Unknown Source)

    at lotus.domino.NotesThread.checkLoaded()V(Unknown Source)

    at lotus.domino.NotesThread.initThread()V(Unknown Source)

    at lotus.domino.NotesThread.run()V(Unknown Source)

Exception in thread “Thread-0” java.lang.UnsatisfiedLinkError: lotus/domino/Note

sThread.NnotesInitThread

    at lotus.domino.NotesThread.initThread()V(Unknown Source)

    at lotus.domino.NotesThread.run()V(Unknown Source)

Could any one throw some lights on this? How to go about to resolve problem?

Thanks

Sarada

Subject: Please re-capture error & re-paste…

A file & its corresponding path should be referenced after this error message:

Exception in thread “Thread-0” java.lang.UnsatisfiedLinkError:

…like this:

HTTP JVM: java.lang.UnsatisfiedLinkError: /opt/lotus/notes/70030/ibmpow/jvm/bin/libawt.a

Please re-paste the error found in the Domino Console for review. This could be caused by a Software Pre-requisite not being met.

Subject: No filename after UnsatisfiedLinkError

It didn’t give any file name.The error is as below:

NotesException: Could not load dll for system name Windows 2003

    at lotus.domino.NotesThread.load(Z)V(Unknown Source)

    at lotus.domino.NotesThread.checkLoaded()V(Unknown Source)

    at lotus.domino.NotesThread.initThread()V(Unknown Source)

    at lotus.domino.NotesThread.run()V(Unknown Source)

Exception in thread “Thread-0” java.lang.UnsatisfiedLinkError: lotus/domino/Note

sThread.NnotesInitThread

    at lotus.domino.NotesThread.initThread()V(Unknown Source)

    at lotus.domino.NotesThread.run()V(Unknown Source)

Thanks

Sarada

Subject: Solution

  1. Run your java program on 32-bit JVM not 64-bit.

  2. Check if you have in your PATH environment variable link to your Notes program directory.

eg. PATH=c:\Lotus\Notes;c:\windows;

  1. Check if your Eclipse properties of Notes.jar (Native Library) points to the folder where Notes dll are stored (Notes Program directory)

I had the same problem when I tried to start my java program with JRE 1.6 64-bit on Windows 2008 64-bit and Lotus Notes 7.01 32-bit. When I start it via JRE 1.5 32-bit everything is OK.