I am so stupid

yes it is a version mismatch  !!!

now i remember !

before trying jME, i was doing some little game in lwjgl, at the time i downloaded the the newest binaries of lwjgl and placed them in

: "F:Program FilesJavajre1.5.0_09bin", which was a big mistake …

Now the VM finds those instead of jME's, i have removed them, and i supply an argument to my library path.

this is the solution.



I knew it was something stupid from begining. Thanks everyone for your help!



And one final question : can i specify library path in my manifest file ?

in case i can't here's a solution :

create a small jar that will run your app with required options, that way it's not platform dependant like scripts.


public class Main {
    public static void main(String[] args) {
        try {
            Runtime.getRuntime().exec("java -Djava.library.path=data/dll -jar data/KvizSE_5.0.jar");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

unfortunately you can't :frowning: