Duke例子所遇到的问题

05-04-07 fikong
我用Ant编译SUN的那个经典例子Duke 时,用命令ant compile-ejb时,出现下面错误
E:\Doc\Java\J2EE\sun\j2eetutorial14\examples\web\hello2>asant build
Buildfile&: build.xml

init:

prepare:

copy:

build:

[javac] Compiling 2 source files to E:\Doc\Java\J2EE\sun\j2eetutorial14\exam
ples\web\hello2\build

BUILD FAILED
file&:E:/Doc/Java/J2EE/sun/j2eetutorial14/examples/web/hello2/build.xml:53: E:\li
b not found.
请问是怎么回事啊?

dwarson
2005-04-10 14:03

好像是j2ee的环境变量没设置好。