Page 2 of 2

Re: The call to initStatic() returned unsuccessfuly.

Posted: 17 May 2016, 15:00
by msm8bball
abma wrote:should be fixed with https://github.com/spring/spring/commit ... 0a9ddaff5a

please try again with >= spring 101.0.1-373-g9d13eb6
Unfortunately, that did not fix it.
http://paste.springfiles.com/view/2990b921

Re: The call to initStatic() returned unsuccessfuly.

Posted: 17 May 2016, 16:20
by abma
Failed locating the client version of the JVM, please contact spring devs.

is JAVA_HOME correctly set? maybe unsetting already fixes it.

Re: The call to initStatic() returned unsuccessfuly.

Posted: 17 May 2016, 16:28
by msm8bball
abma wrote:
Failed locating the client version of the JVM, please contact spring devs.

is JAVA_HOME correctly set? maybe unsetting already fixes it.
Ah! I forgot I installed the 64bit Java the other day to compile SignalR Java client library. That set my JAVA_HOME to the 64 bit Java. Unsetting the JAVA_HOME allowed it to proceed. I got a different error, but it appears to be something I did wrong in my AI rather than the engine. Looks like you've fixed it!
[f=-000001] [Java Interface] JRE found in registry!
[f=-000001] [Java Interface] Using JRE (can be changed with JAVA_HOME): C:\Program Files (x86)\Java\jre1.8.0_91
[f=-000001] [Java Interface] Successfully loaded the JVM shared library at "C:\Program Files (x86)\Java\jre1.8.0_91\bin\client\jvm.dll".
[f=-000001] [Java Interface] Unable to find common read-only data-dir (optional).
[f=-000001] [Java Interface] Unable to find common read-only native libs data-dir (optional).
[f=-000001] [Java Interface] Initialization successfull.
[f=-000001] [Java Interface] Error: AI class not assignable from interface com/springrts/ai/AI: myjavaai.MyJavaAI
[f=-000001] [Java Interface] Error: possible reasons (this list could be incomplete):
[f=-000001] [Java Interface] Error: * com/springrts/ai/AI interface not implemented
[f=-000001] [Java Interface] Error: * The AI is not compiled for the Java AI Interface version in use
[f=-000001] [Java Interface] Error: Class loading failed for class: myjavaai.MyJavaAI
[f=-000001] Error: Failed to initialize an AI for team 0 (ID: 0), error: 1