Hey! Ok, trying to run this now
Using the build configuration above, ie svn version 5869.
The following logfiles are generated, but then nothing more happens, just hangs
infolog.txt:
Code: Select all
...
New connection established in 0 (wanted number was 0)
Player hughperkins joined as 0
Upgrade pairs registered
GameID: 7b843a48b89bf2ede5c28af704e8da6e
AI/Bot-libs/JAI-impl-hoijui.jar has C++ interface
JAI_cpp-log.txt:
Code: Select all
...
num options: 13
creating JVM...
hotspot.log:
Code: Select all
...
[Dynamic-linking native method java.io.WinNTFileSystem.canonicalizeWithPrefix0 ... JNI]
Checked JNI functions are being used to validate JNI usage
Checked JNI functions are being used to validate JNI usage
[Dynamic-linking native method java.lang.ClassLoader.findLoadedClass0 ... JNI]
[Dynamic-linking native method java.lang.ClassLoader.findBootstrapClass ... JNI]
[Dynamic-linking native method sun.misc.VMSupport.initAgentProperties ... JNI]
Checked JNI functions are being used to validate JNI usage
Checked JNI functions are being used to validate JNI usage
And then... nothing

Cant find any other logfiles.
It looks like the jvm is being loaded, but it's not finding your jar file or something like that? What would be next things to either debug or check? I think your build process copies everything into the AI\bot-libs directly automatically right?
Added a "dir /s" of bot-libs as attachment (not sure if attachments work or not? going to try....)
Edit: added the hotspot.log and cpp log just in case it is useful.
Edit2: I guess it is failing on this line?
res = JNI_CreateJavaVM(&jvm, (void**)&jniEnv, &vm_args);
(though it could feasibly be on one of the deletes just after it)
... but presumably it's because of one of the options that we already configured in vm_args?