今天,我在我的旧开发 PC 上安装了 NetBeans(最新的),并从 BitBucket 克隆了我的存储库(我开始在 Windows 7 上使用 NetBeans 进行编码)。我尝试进行干净的构建,但编译器输出了错误。
输出日志:
ant -f "/home/noel/NetBeansProjects/ProtonBlazt (Git)" -Dnb.internal.action.name=rebuild clean jar
init:
deps-clean:
Updating property file: /home/noel/NetBeansProjects/ProtonBlazt (Git)/build/built-clean.properties
Deleting directory /home/noel/NetBeansProjects/ProtonBlazt (Git)/build
clean:
init:
deps-jar:
Created dir: /home/noel/NetBeansProjects/ProtonBlazt (Git)/build
Updating property file: /home/noel/NetBeansProjects/ProtonBlazt (Git)/build/built-jar.properties
Created dir: /home/noel/NetBeansProjects/ProtonBlazt (Git)/build/classes
Created dir: /home/noel/NetBeansProjects/ProtonBlazt (Git)/build/empty
Created dir: /home/noel/NetBeansProjects/ProtonBlazt (Git)/build/generated-sources/ap-source-output
Compiling 17 source files to /home/noel/NetBeansProjects/ProtonBlazt (Git)/build/classes
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options
/home/noel/NetBeansProjects/ProtonBlazt (Git)/nbproject/build-impl.xml:923: The following error occurred while executing this line:
/home/noel/NetBeansProjects/ProtonBlazt (Git)/nbproject/build-impl.xml:263: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 0 seconds)
build-impl.xml 在这里:http://pastebin.com/kt3G9dPS
我希望任何人都可以解决这个问题。
问候
米尼