How to use Spring and Java (NullOOJavaAI)?

How to use Spring and Java (NullOOJavaAI)?

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
anemol
Posts: 5
Joined: 26 Sep 2014, 09:52

How to use Spring and Java (NullOOJavaAI)?

Post by anemol »

I can't use Spring with Java.

I wanted to test the AI: "HughAI."

When I start a game with a bot "HughAI" or "NullOOJavaAI", I get this message:

Code: Select all

Error: Unknow AI skirmish specifed.
Skirmish AI "Bot1" #1 (ID:0), which controlled team 0 is now dead.
I use:
- Ubuntu 12.04 (32bits)
- Spring 96 (spring_96.0_minimal-portable-linux32-static)

I setup JAVA_HOME with: /usr/lib/jvm/java-1.6.0-openjdk/

Nothing into infolog.txt that tells how to solve the problem.
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: How to use Spring and Java (NullOOJavaAI)?

Post by gajop »

Need more details to help:
1) infolog.txt
2) AIInfo.lua
3) relevant directory structure (spring, datadir, AI)

PS: those static builds may not have JAVA enabled, but I don't think that's your problem.
User avatar
anemol
Posts: 5
Joined: 26 Sep 2014, 09:52

Re: How to use Spring and Java (NullOOJavaAI)?

Post by anemol »

those static builds may not have JAVA enabled
My base version is Spring-85 (installed with apt-get install spring).
For this reason I use Spring-96 (static lib)
I copied AI directories from a packet "spring-javaai_96.0+dfsg-1_all" for Ubuntu 13.04 because Ubuntu 12.04 doesn't offer Spring-96.

Finally, I updated my basic version via PPA, now version is Spring-95.

NullOOJavaAI seems to work now.
Post Reply

Return to “Linux”