Ask the Expert

Using add-in Java API in Notes/Domino

I tried to use an add-in Java API (namely, Java Comm API) in Notes/Domino, but I couldn't get it working. I could not find any answers in the forum.

Basically, I just want to know where I should put the three important files included in the Java Comm API: comm.jar, and win32com.dll. Currently, comm.jar has been included in the project. has been put under /jvm/lib directory. Win32com.dll has been put under /notes directory.

But it's still throwing errors, i.e., "Caught java.lang.NullPointerException: name can't be null while loading driver com.sun.comm.Win32Driver"

Any help you can provide in resolving this matter will be greatly appreciated.

I'm not a Java expert, but if you're writing this as an agent in Domino, I suspect your best bet is to include the files you need in your Domino database design -- either as part of your agent, or in a separate "Java Script Library" design element. After all, other people who run your code will not necessarily have these libraries on your disk -- even if the Notes client JVM knew to look for them there.


If someone else is interested in finding a solution to this Java API, I've managed to get it working. I have put my solution here. I hope it helps!

—Rusyinni R.

Do you have comments on this Ask the Expert question and response? Let us know.

This was first published in November 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: