Java code in eclipse doesn't work - 2 questions
Posts: 27
Joined: Fri May 20, 2011 12:34 pm

Java code in eclipse doesn't work - 2 questions

Postby TheBlueGnu » Wed Jun 08, 2011 8:24 am

I've been trying to get the Eisbot code to work in Eclipse but have gotten some problems. The Eclipse forums aren't accepting new members for some reason, so I wasn't sure where to ask this. My issues are:

I'm using Eclipse 3.6.2, Windows Vista and Java jdk1.6.0_25 and jre6

1) Importing
"import java.awt.Point;"

Gives the error: "The input eisbot cannot be resolved". 'eisbot' is the name of my project.

2)Type problems
I have many errors of this type:
"Unit cannot be resolved to a type"
and also;
"The method getEnemyUnits() from the type JNIWAPI refers to the missing type Unit"

Attached is my project.

I've browsed the web a lot but can't find anything that is both relevant and works. Please help!

Return to “BWAPI (wrappers in other languages / questions and announcements related to BWAPI itself)”

Who is online

Users browsing this forum: No registered users and 0 guests