idea custom gui components

Hello!

I have a swing-based project with custom components. I have Leopard with Java Update 2 installed and Java6 as default.
I can't use the components, i receive an error message:
"unsupported class version"
I think, i compile with Java 6 and the Idea run over Java 5 JRE on Mac. Is this a correct supposition?

Thank in advance!

4 comments
Comment actions Permalink

Hello Imre,

Hello!

I have a swing-based project with custom components. I have Leopard
with Java Update 2 installed and Java6 as default.
I can't use the components, i receive an error message:
"unsupported class version"
I think, i compile with Java 6 and the Idea run over Java 5 JRE on
Mac. Is this a correct supposition?
Thank in advance!


You seems to be right: http://www.jetbrains.net/jira/browse/IDEA-11607

Alexander.


0
Comment actions Permalink

Thanks, but how can i run idea using JavaRE6 under Leopard?

On windows, IDEA_JDK environment variable should be defined, but doesn't work on Leopard with export.

0
Comment actions Permalink

Edit /Contents/Info.plist (with Property List Editor) and set "Java->]]>JVMVersion" to "1.6*". BTW the property "VMOptions" in this plist is where you increase IDEA memory (i.e. -Xms256ms / -XmX1024m).

Peter

0
Comment actions Permalink

Thanks a lot! It is working now!

By the way, Idea 8 really rocks. :)

0

Please sign in to leave a comment.