RE: JESS: Call Jess from C++ via JNI

"Friedman-Hill, Ernest" <[email protected]> Tue, 27 Sep 2011 17:31:04 +0000
Newsgroups gmane.comp.java.jess
Message-ID <[email protected]>
The problem is here. The Java classpath doesn't list directories in which jar files can be found, but rather, the jar files themselves. The argument should be, e.g., "-Djava.class.path=./jess.jar".

      options[0].optionString = (char*)&"-Djava.class.path=.";  //the current directory is where jess.jar is also