JDK version for GUI designer

Hi,

I made an IDEA GUI Form using Idea 4.5, it worked out like a charm. This was using a JDK 1.3.1 (WAS one if it has any importance).

Then, i tried to open this project using an Irida EAP (last one, 3316), and even though the project compiles nicely, when trying to run my UI, i get the following error (still using a JDK 1.3.1, but Sun's 1.3.1_15)

java.lang.UnsupportedClassVersionError: com/intellij/uiDesigner/core/GridLayoutManager (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
at LogViewerForm.$$$setupUI$$$(LogViewerForm.java)
at LogViewerForm.]]>(LogViewerForm.java:38)
at LogViewerForm.createInFrame(LogViewerForm.java:122)
at LogViewerForm.main(LogViewerForm.java:192)
at java.lang.reflect.Method.invoke(Native Method)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)


Is it mandatory to use JDK 1.4 or later to use the GUI redist jars with Irida ?

3 comments
Comment actions Permalink

It looks like the class file format is the 1.4 format.

You should try using RetroWeaver to convert the jars to 1.3 format, and see
if that works. It might not work because the IDEA forms_rt might use JDK1.4-specific
API.

Hi,

I made an IDEA GUI Form using Idea 4.5, it worked out like a charm.
This was using a JDK 1.3.1 (WAS one if it has any importance).

Then, i tried to open this project using an Irida EAP (last one,
3316), and even though the project compiles nicely, when trying to run
my UI, i get the following error (still using a JDK 1.3.1, but Sun's
1.3.1_15)

java.lang.UnsupportedClassVersionError:
com/intellij/uiDesigner/core/GridLayoutManager (Unsupported
major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106
)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
at LogViewerForm.$$$setupUI$$$(LogViewerForm.java)
at LogViewerForm.<init>(LogViewerForm.java:38)
at LogViewerForm.createInFrame(LogViewerForm.java:122)
at LogViewerForm.main(LogViewerForm.java:192)
at java.lang.reflect.Method.invoke(Native Method)
at
com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)
Is it mandatory to use JDK 1.4 or later to use the GUI redist jars
with Irida ?




0
Comment actions Permalink

Thanks for notice, we'll fix that.

-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

thanks for that quick reply.

I'm gonna have a look at retroweaver, but not sure it would be wise to use Irida to modify my project Gui Forms if I want to be able to open them again using IDEA 4.5 ?

0

Please sign in to leave a comment.