Can't compile community edition
I can't compile the IDEA community edition. Compilation fails with these error messages, even after a full rebuild.
/Users/dirk/IdeaProjects/idea/plugins/git4idea/src/git4idea/checkin/GitConvertFilesDialog.form
Error:Error:/Users/dirk/IdeaProjects/idea/plugins/git4idea/src/git4idea/checkin/GitConvertFilesDialog.form: Unsupported class version error: com.intellij.ui.CheckboxTreeBase
/Users/dirk/IdeaProjects/idea/plugins/git4idea/src/git4idea/checkin/GitPushActiveBranchesDialog.form
Error:Error:/Users/dirk/IdeaProjects/idea/plugins/git4idea/src/git4idea/checkin/GitPushActiveBranchesDialog.form: Unsupported class version error: com.intellij.ui.CheckboxTree
/Users/dirk/IdeaProjects/idea/plugins/git4idea/src/git4idea/checkin/GitPushDialog.form
Error:Error:/Users/dirk/IdeaProjects/idea/plugins/git4idea/src/git4idea/checkin/GitPushDialog.form: Unsupported class version error: com.intellij.ide.util.ElementsChooser
/Users/dirk/IdeaProjects/idea/plugins/git4idea/src/git4idea/checkout/GitCloneDialog.form
Error:Error:/Users/dirk/IdeaProjects/idea/plugins/git4idea/src/git4idea/checkout/GitCloneDialog.form: Unsupported class version error: com.intellij.openapi.ui.TextFieldWithBrowseButton
/Users/dirk/IdeaProjects/idea/plugins/git4idea/src/git4idea/config/GitVcsPanel.form
(many more of the same type)
Opening the forms shows a red square (see screenshot) Any ideas?
Attachment(s):
Bild 1.png
请先登录再写评论。
Hello Dirk,
If you're using JDK 6 as the target JDK for compiling IDEA CE, you also need
to run the IDEA in which you're compiling under JDK 6. Alternatively, you
can use JDK 5 as the target JDK.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thanks. That was the problem.