unsupported class version if using java6

Hi,

If I use jdk5 as project jdk, I can create GUIs (including user-defined component classes) as expected.
But if I change my project jdk to java6 i get an "unsupported class version" for all my user-defined components (red boxes are shown instead). 'Rebuild' does not help. Is this a bug or a feature? Is it possible to use java6 together with the current gui designer?

best regards, watzlaw

0
Avatar
Permanently deleted user

Hello watzlaw,

If I use jdk5 as project jdk, I can create GUIs (including
user-defined component classes) as expected. But if I change my
project jdk to java6 i get an "unsupported class version" for all my
user-defined components (red boxes are shown instead). 'Rebuild' does
not help. Is this a bug or a feature? Is it possible to use java6
together with the current gui designer?


It is possible if you run IntelliJ IDEA under JDK 6. The following post describes
how to configure this: http://blogs.jetbrains.com/idea/2006/08/running-mustang/

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

请先登录再写评论。