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

2011-09-27 Thread Hunter McMillen
Well the framework and API I am using are very large, so much so that it would be unreasonable to rewrite them in Java. Sorry for the somewhat unspecific question? Really I wanted to know why the class loader couldn't find the jess.Rete class, when I have jess.jar on my classpath, and have it in

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

2011-09-27 Thread Friedman-Hill, Ernest
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