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

2011-10-03 Thread Hunter McMillen
it, and gets the Value back, decoding it as needed. -- *From:* owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] *On Behalf Of *Hunter McMillen *Sent:* Monday, September 26, 2011 8:51 PM *To:* jess-users *Subject:* JESS: Call Jess from C++ via JNI

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

2011-10-03 Thread Friedman-Hill, Ernest
-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] On Behalf Of Hunter McMillen Sent: Saturday, October 01, 2011 12:52 PM To: jess-users Subject: Re: JESS: Call Jess from C++ via JNI Well I am trying to create an agent to compete in the Starcraft AI competition for next year, the API

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

2011-09-30 Thread Socrates Frangis
[mailto:owner-jess-us...@sandia.gov] *On Behalf Of *Hunter McMillen *Sent:* Monday, September 26, 2011 8:51 PM *To:* jess-users *Subject:* JESS: Call Jess from C++ via JNI Hello everyone, I am working on a project where I am using a C++ framework and API to create a game agent. My agent has

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

2011-09-28 Thread Hunter McMillen
Thanks a lot! That was exactly what was going wrong. Hunter On Tue, Sep 27, 2011 at 1:31 PM, Friedman-Hill, Ernest ejfr...@sandia.govwrote: ** 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

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

2011-09-28 Thread Dusan Sormaz
Thanks Ernest! I was on the phone call, so you overran me. :-) Dusan Sormaz On 9/27/2011 1:31 PM, Friedman-Hill, Ernest wrote: 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.,

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

2011-09-28 Thread Hunter McMillen
:* owner-jess-us...@sandia.gov [mailto:owner-jess-us...@sandia.gov] *On Behalf Of *Hunter McMillen *Sent:* Monday, September 26, 2011 8:51 PM *To:* jess-users *Subject:* JESS: Call Jess from C++ via JNI Hello everyone, I am working on a project where I am using a C++ framework and API

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