[Javacad-develop] Building JCad
Status: Pre-Alpha
Brought to you by:
bachg
From: Terry H. <ha...@an...> - 2002-10-27 07:18:40
|
Hi! I noticed an echoing silence on the archives and no traffic here, so I suppose this list must not have much traffic yet? I'm trying to evaluate JCad, and I have to admit I'm not very familiar with Java builds, so that may be my problem. I have a Debian Linux system with kaffe, jikes, and jikes-kaffe installed, which seem to be the best available Free JDK. I have checked JCad out of the CVS as recommended by your webpage. I tried to run the "ant jcad-compile" line, but I run into trouble with it: """ init: jcad-compile: [javac] Compiling 83 source files to /lorien/Narya/Source/JCAD/JCad BUILD FAILED /lorien/Narya/Source/JCAD/JCad/build.xml:34: 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: 31 seconds """ I'm not sure what my "jdk directory" is on a Debian system -- I don't think that the JAVA_HOME variable would actually help, but I'm not sure. With Debian configured for jikes/kaffe, BTW, "javac" is a symlink to the "jikes-kaffe" binary. The class files appear to be in /usr/share/java/ Searching Google, I did find a reference to someone getting the error message above, to which there was a suggestion that a particular tag in the build.xml file be changed from "javac" to "jikes", like this: <property name="build.compile" value="jikes" /> But there doesn't seem to be any line like this in the JCad build.xml file, so maybe it doesn't apply. Any suggestions? I *would* strongly like to use a Free Java compiler toc ompile it, which is why I'm using jikes. There's also a Gnu Java compiler, but Jikes seems to be preferred, from what little research I did on it. Thanks, Terry -- Terry Hancock ( hancock at anansispaceworks.com ) Anansi Spaceworks http://www.anansispaceworks.com |