f



java.lang.UnsatisfiedLinkError: no lsxbe in java.library.path

Hello i got following exception:

java.lang.UnsatisfiedLinkError: no lsxbe in java.library.path


My source code looks like the examples of the Notes homepage.


import lotus.domino.*;

public class Main extends NotesThread{
    public static void main(String argv[]){
        System.err.println(System.getProperty("java.library.path"));
//        System.load("C:/Programme/lotus/notes/lsxbe.dll");
        Main t = new Main();
        t.start();
    }

    public void runNotes(){
        try{
            Session s = NotesFactory.createSession("localhost", ""
,"");
            String p = s.getPlatform();
            System.out.println("Platform = " + p);
        }
        catch(Exception e){
            e.printStackTrace();
        }
    }
}


When executing this program i got this output on my console:

C:\Programme\Java\j2sdk1.4.2_08\bin\java -Didea.launcher.port=7538
-Didea.launcher.library=C:\Programme\IntelliJ-IDEA-4.5\bin\breakgen.dll
-Dfile.encoding=UTF-8 -classpath
C:\Programme\Java\j2sdk1.4.2_08\jre\lib\charsets.jar;C:\Programme\Java\j2sdk1.4.2_08\jre\lib\jce.jar;C:\Programme\Java\j2sdk1.4.2_08\jre\lib\jsse.jar;C:\Programme\Java\j2sdk1.4.2_08\jre\lib\plugin.jar;C:\Programme\Java\j2sdk1.4.2_08\jre\lib\rt.jar;C:\Programme\Java\j2sdk1.4.2_08\jre\lib\sunrsasign.jar;C:\Programme\Java\j2sdk1.4.2_08\jre\lib\ext\dnsns.jar;C:\Programme\Java\j2sdk1.4.2_08\jre\lib\ext\ldapsec.jar;C:\Programme\Java\j2sdk1.4.2_08\jre\lib\ext\localedata.jar;C:\Programme\Java\j2sdk1.4.2_08\jre\lib\ext\sunjce_provider.jar;C:\Projekte\Notes\classes;C:\Projekte\LotusNotesJC\Notes.jar;C:\Projekte\LotusNotesJC\NCSO.jar;C:\Programme\IntelliJ-IDEA-4.5\lib\idea_rt.jar
com.intellij.rt.execution.application.AppMain
de.adito.aditoweb.common.calendar.backend.notes.dev.Main


C:\Programme\Java\j2sdk1.4.2_08\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Java\jdk1.5.0_02\bin;
C:\Programme\lotus\notes;

java.lang.UnsatisfiedLinkError: no lsxbe in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
	at java.lang.Runtime.loadLibrary0(Runtime.java:788)
	at java.lang.System.loadLibrary(System.java:834)
	at lotus.domino.NotesThread.load(NotesThread.java:322)
	at lotus.domino.NotesThread.checkLoaded(NotesThread.java:341)
	at lotus.domino.NotesThread.initThread(NotesThread.java:138)
	at lotus.domino.NotesThread.run(NotesThread.java:196)

Process finished with exit code 0


Please consider the
System.err.println(System.getProperty("java.library.path"));
returns
C:\Programme\Java\j2sdk1.4.2_08\bin;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Java\jdk1.5.0_02\bin;
C:\Programme\lotus\notes;

And there is a file called lsxbe.dll in the directory
C:\Programme\lotus\notes.
So i think that this file is included in java.library.path.


Please help me to get this programm running. 

Thanks in advance.

0
Pirat
10/13/2005 12:23:28 PM
comp.lotus-notes.admin 2984 articles. 0 followers. Post Follow

0 Replies
838 Views

Similar Articles

[PageSpeed] 19

Reply: