How to use NotesSessionJob on MacOS?

I have written an Eclipse Java plugin for Notes which works fine on Linux and Windows but doesn’t work on MacOS. I use the new NotesSessionJob class which was introduced with Notes 8.5.1 in the following way:

NotesSessionJob notesJob = new NotesSessionJob(“Determining Notes data directory”) {

protected IStatus runInNotesThread(Session session, IProgressMonitor arg0) throws NotesException {

}

When this runs on MacOS I get the following excpetion:

java.lang.NoClassDefFoundError: lotus/domino/Session

The same happens for other classes from the lotus.domino package, e.g. lotus.domino.local.Document which I need later in my code.

I would be glad if someone could provide me assistance to make my plugin work with MacOS, too.

Many thanks in advance,

René

Subject: Any Success?

Hi Rene,Have you had any success with your problem?

I have just encountered the same problem whilst trying to get a sidebar application I have written to work on Macs. The app works fine on both Windows and Linux.

I have read many things about DYLD_LIBRARY_PATH environmental variables being the key if that helps. I am still trying to understand how I can package a mac version, or have the one app being platform independant.

Regards,

Andrew

Subject: Not yet…

Hi Andrew,not yet. I am still trying to figure out the cause. As it is a project that I am doing in my spare time it takes a little bit longer :slight_smile:

Will let you know as soon as I find out something (or even find a solution).

Regards,

Rene