一段时间以来,我一直在使用 Flashdevelop(4.4 版),零问题。然而,我最近重新安装了 Windows 7,在安装 Flashdevelop 之后,它需要 Java 1.6,没有它就无法编译。让我更具体一点,这是我在尝试编译一个简单的 HelloWorld 类型测试时遇到的错误:
"Running process: C:\Program Files (x86)\FlashDevelop\Tools\fdbuild\fdbuild.exe "C:\Users\marc\Documents\DeleteMe\DeleteMe\DeleteMe.as3proj" -ipc 01be003c-6cb5-4d0b-9c35-c59dd2ea7a19 -version "4.6.0; 3.3" -compiler "C:\Program Files (x86)\FlashDevelop\Tools\flexsdk" -library "C:\Program Files (x86)\FlashDevelop\Library" -cp "C:\Program Files (x86)\Java\jdk1.6.0_34\bin" -cp "C:\Program Files (x86)\Java\jdk1.6.0_34"
Building DeleteMe
mxmlc -load-config+=obj\DeleteMeConfig.xml -debug=true -incremental=true -swf-version=16 -o obj\DeleteMe634829909556672047
Starting java as: C:\Program Files (x86)\Java\jdk1.6.0_34\bin\java.exe;\bin\java.exe
Unable to start java.exe: The system cannot find the file specified
Could not compile because the fcsh process could not be started.
Build halted with errors (fcsh).
INITIALIZING: Failed, unable to run compiler
Done(1)"
Java 1.6 JDK的GlobalClasspath
设置设置为:C:\Program Files (x86)\Java\jdk1.6.0_34\bin
我也将我的JAVA_HOME
环境变量设置为相同的位置。我可能会忽略设置另一个环境变量吗?