From: fly r. <roa...@ho...> - 2005-07-11 20:22:27
|
Hi all, I am a beginner to try to use javaclient. When I tried to compile the *.java file with gcc, I was given such error messages as below: $ gcc -c Simple.java -o Simple.o Simple.java:12: error: Can't find default package `javaclient'. Check the CLASSPATH environment variable and the access to the archives Simple.java:19: error: Type `PlayerClient' not found in declaration of field `robot'. PlayerClient robot; ^ Simple.java:20: error: Type `PositionInterface' not found in declaration of field `position'. PositionInterface position; ^ 3 errors I don't know why gcc couldn't find the javaclient package, since I'v already changed the CLASSPATH and PATH_INCLUDE, but NetBeans could compile the file. Anyone got some idea? Cheers, Jun Shi _________________________________________________________________ It's fast, it's easy and it's free. Get MSN Messenger 7.0 today! http://messenger.msn.co.uk |