This is very cheap and simple code like "Hello World" code and when I set up DIIOP test environment, I am using this kind of code to test my environment is working correctly. Java -cp c:\MyJava c:\lotus\notes\data\domino\java\NCSO.jar NABTestĬ:\MyJava>java -cp c:\MyJava D:\lotus\notes\data\domino\java\NCSO.jar NABTest So you need to specify "-target 1.4" when you uses Lotus Notes Domino 7.x I used "-target 1.5" because Notes Domino 8.x uses Java 1.5. JAVA_HOME: Full path to your JDK bin folderĬLASSPATH: Add work directory(C:\MyJava in the above sample) and full path to NCSO.jar We are indeed using the old SAP R/3 connector. All that I know is that since then, I the the following error in a few agents: Error loading USE or USELSX module: RFC. Set CLASSPATH= C:\lotus\notes\data\domino\java\NCSO.jar C:\myjava My PC was updated from Notes 8.5.3 to Notes 9, and I dont know how it was done (upgrade or full uninstall 8 then reinstall 9). (I used "C:\MyJava" directory as working directory)Ĭompile.bat (Change the variable in blue) To compile program, you just add the path to NCSO.jar file to CLASSPATH but to avoid confusion, I usually create the batch file like this. When you start to run DIIOP program, I think compiling DIIOP program would be the most difficult step for unfamiliar users. ("User Name: " + doc.getItemValueString("FullName")) Session s = NotesFactory.createSession(host,cName,password) ĭatabase db = s.getDatabase("", dbname ) Static String password = "password" // internet password What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
I read somewhere here, that the error raises when java console from Notes Client interferes with Notes. Static String dbname = "names.nsf" // database (e.g. The time we save is the biggest benefit of E-E to our team. Error loading USE or USELSX module: javacon. Static String cName = "notes admin" //username Static String host = "" // server address
#ERROR LOADING USE OR USELSX MODULE LOTUS NOTES 8.5 HOW TO#
I previously posted a simple sample code for the beginner of DIIOP technology and some would want to know how to implement a typical Notes routine as follows. The most typical sample of Notes API would be open view, get one document and change/get item value.