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!
Please sign in to leave a comment.
Hello Imre,
You seems to be right: http://www.jetbrains.net/jira/browse/IDEA-11607
Alexander.
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.
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
Thanks a lot! It is working now!
By the way, Idea 8 really rocks. :)