Class not found: com/jmex/model/converters/FormatConverter


I'm getting an error while executing my personal project using jme. the stack looks like this :

java.lang.NoClassDefFoundError: com/jmex/model/converters/FormatConverter

The code where the exception is launched :

FormatConverter converter = new MaxToJme();

I'm using eclipse under windows, and it works fine when executing from eclipse.
I've also made a jar of my application, executing like this under windows :

java -cp "all jme jar and depending jars here;my_jar.jar" -Djava.library.path="here path for dlls" test.myApp

And it works fine.

My problem occurs under Linux (ubuntu 8.04 with jre 1.6). The jme-model.jar (which contains the class FormatConverter) is well defined in the classPath and in the command line, the "-Djava.library.path" spots the path which contains .so files, but i still have the NoClassDefFoundError.

why ? any idea ?

Nvm, found it :slight_smile: