我正在阅读 Haralambos Marmanis 和 Dmitry Babenko 所著的《智能网络算法》一书。我正在尝试使用 beanshell 运行书中的脚本。我可以按照本书的要求在我的命令行解释器中运行 java 和 ant。我从http://code.google.com/p/yooreeka/downloads/list下载了本书的源代码。我在目录 c:/iWeb2 中提取并构建了所有内容。要启动 beanshell,应该转到目录 C:\iWeb2\deploy\bin\bsc.bat 它应该打开 beanshell 的控制台窗口,我认为它确实如此,因为标题控制台从命令提示符更改为 beanshell。但它打印出以下内容
C:\iWeb2\部署\bin>bsc
C:\iWeb2\deploy\bin>回显关闭
路径=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\PROGRA~1\COMMON~1\ULEADS~1\MPEG;C:\Program Files\Java\jdk1。 6.0_17\bin;C:\Python25;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\apache-ant-1.8.2-bin\apache-ant-1.8.2\bin;C: \程序文件\Google\google_appengine\
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
CLASSPATH=C:\iWeb2\deploy\lib\bsh-2.0b4.jar;;C:\iWeb2\deploy\lib\activation.jar; C:\iWeb2\deploy\lib\amazon-ecs-2007-07-16-java-library.jar;C:\iWeb2\deploy\lib\b las.jar;C:\iWeb2\deploy\lib\commons- codec-1.3.jar;C:\iWeb2\deploy\lib\commons-ht tpclient-3.1.jar;C:\iWeb2\deploy\lib\commons-lang-2.3.jar;C:\iWeb2\deploy\lib\ com mmons-logging-1.1.1.jar;C:\iWeb2\deploy\lib\f2jutil.jar;C:\iWeb2\deploy\lib\jaxb -all-deps.jar;C:\iWeb2\deploy\lib\ jaxb-api.jar;C:\iWeb2\deploy\lib\jaxb-impl.jar ;C:\iWeb2\deploy\lib\jaxb-xjc.jar;C:\iWeb2\deploy\lib\jfreechart.jar;C :\iWeb2\de ploy\lib\jgraph.jar;C:\iWeb2\deploy\lib\jigg-0.1.jar;C:\iWeb2\deploy\lib\rooster .jar;C:\iWeb2\deploy\lib\ jsr173_1.0_api.jar;C:\iWeb2\deploy\lib\junit-4.1.jar;C:\iWeb2\deploy\lib\lapack.jar;C:\iWeb2\deploy\lib\lucene-analyzers-2.3.0 .jar;C:\i Web2\deploy\lib\lucene-core-2.3.0.jar;C: \iWeb2\deploy\lib\lucene-demos-2.3.0.jar ;C:\iWeb2\deploy\lib\lucene-memory-2.3.0.jar;C:\iWeb2\deploy\lib\nekohtml.jar;C :\iWeb2\deploy\lib\poi-3.0.2-FINAL-20080204.jar;C:\iWeb2\deploy\lib\resolver.jar; C:\iWeb2\deploy\lib\secondstring-20070327.jar;C:\iWeb2\deploy\lib\serializer.jar ;C:\iWeb2\deploy\lib\SuperCSV-1.16.jar;C:\iWeb2\deploy\ lib\tm-extractors-1.0.jar ;C:\iWeb2\deploy\lib\xercesImpl.jar;C:\iWeb2\deploy\lib\xml-apis.jar;C:\iWeb2\de ploy\lib\drools- core-4.0.4.jar;C:\iWeb2\deploy\lib\drools-compiler-4.0.4.jar;C:\iWeb2\deploy\lib\antlr-runtime-3.0.jar;C:\iWeb2\deploy \lib\janino-2.5.10.jar;C:\iWeb2\deploy\lib\mvel14-1.2.21.jar;C:\iWeb2\deploy\lib\iweb2.jar;C:\iWeb2\deploy \iWeb2\deploy\lib\resolver.jar; C:\iWeb2\deploy\lib\secondstring-20070327.jar;C:\iWeb2\deploy\lib\serializer.jar ;C:\iWeb2\deploy\lib\SuperCSV-1.16.jar;C:\iWeb2\deploy\ lib\tm-extractors-1.0.jar ;C:\iWeb2\deploy\lib\xercesImpl.jar;C:\iWeb2\deploy\lib\xml-apis.jar;C:\iWeb2\de ploy\lib\drools- core-4.0.4.jar;C:\iWeb2\deploy\lib\drools-compiler-4.0.4.jar;C:\iWeb2\deploy\lib\antlr-runtime-3.0.jar;C:\iWeb2\deploy \lib\janino-2.5.10.jar;C:\iWeb2\deploy\lib\mvel14-1.2.21.jar;C:\iWeb2\deploy\lib\iweb2.jar;C:\iWeb2\deploy \iWeb2\deploy\lib\resolver.jar; C:\iWeb2\deploy\lib\secondstring-20070327.jar;C:\iWeb2\deploy\lib\serializer.jar ;C:\iWeb2\deploy\lib\SuperCSV-1.16.jar;C:\iWeb2\deploy\ lib\tm-extractors-1.0.jar ;C:\iWeb2\deploy\lib\xercesImpl.jar;C:\iWeb2\deploy\lib\xml-apis.jar;C:\iWeb2\de ploy\lib\drools- core-4.0.4.jar;C:\iWeb2\deploy\lib\drools-compiler-4.0.4.jar;C:\iWeb2\deploy\lib\antlr-runtime-3.0.jar;C:\iWeb2\deploy \lib\janino-2.5.10.jar;C:\iWeb2\deploy\lib\mvel14-1.2.21.jar;C:\iWeb2\deploy\lib\iweb2.jar;C:\iWeb2\deploy
\conf
环境变量 JAVA_HOME 未定义
该系统找不到指定的路径。
C:\iWeb2\deploy\bin> 可能是什么问题?