try to fix compile of Java-AIInterface