[alicebot-developer] ProgramD compile

Kevin Partridge alicebot-developer@list.alicebot.org
Mon, 22 Nov 2004 23:06:30 -0800


Howdy, all:

Sorry if this was answered already before but I googled it and only got
one hit from the alicebot-general archives (which wasn't useful) and the
other mailing list archives don't have a search mechanism.

Basically, I can't compile ProgramD. I get the following error when
running build.sh:

Starting Ant...
Buildfile: build.xml
 
init:
     [echo] Building Alicebot Program D 4.1.5....
 
prepare:
 
prepare-src:
 
compile:
    [javac] Modern compiler is not available - using classic compiler
    [javac] Compiling 158 source files to
/home/kevin/Projects/ALICE/ProgramD/classes
 
BUILD FAILED
 
/home/user/Projects/ALICE/ProgramD/build/build.xml:81: Cannot use
classic compiler, as it is not available A common solution is to set the
environment variable JAVA_HOME to your jdk directory.
 
Total time: 1 second


jdk = 1.4.2

my CLASSPATH = /opt/j2sdk_nb/j2sdk1.4.2/
my JAVA_HOME = /opt/j2sdk_nb/j2sdk1.4.2/
my PATH includes /opt/j2sdk_nb/j2sdk142/bin:/opt/j2sdk_nb/j2sdk1.4.2/lib

interestingly enough, it seems to build fine using eclipse but not
"manually."

I'm not really an ant person so i don't know why this doesn't work and
I'd like to know in case I decide to use a different IDE (or no IDE) to
work on it. I don't really like being tied to the IDE.

Any suggestions on the above would be appreciated.

Thanks.

Kevin