Page 1 of 1

Java code in eclipse doesn't work - 2 questions

Posted: Wed Jun 08, 2011 8:24 am
by TheBlueGnu
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!