Cannot compile with JDK 1.3

Oh boy, I just wanted to test if my tiny open source project compiles and runs with JDK 1.3, downloaded from Sun's archive, installed, configured as project JDK.
Rebuild project - crash. Messages window has no context menu (to let me copy the exception. Must export to text file and copy from that dialog). Tried ant. Idea says "Ant build completed successfully at 16:43:14 in 0s". Wow, that's fast. Obviously ant is broken, too - does nothing.
Compiled with JDK 1.3 and ant on command line -> everything's fine.
My, my, imagine that were my first evaluation of Idea on a company's legacy project...

Information: java.lang.UnsupportedClassVersionError: com/intellij/rt/compiler/JavacRunner (Unsupported major.minor version 48.0)
Information: at java.lang.ClassLoader.defineClass0(Native Method)
Information: at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
Information: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
Information: at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
Information: at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
Information: at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
Information: at java.security.AccessController.doPrivileged(Native Method)
Information: at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
Information: at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
Information: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
Information: at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
Information: at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
Information: Exception in thread "main"
Information: Compilation completed with 1 errors and 0 warnings
Information: 1 error
Information: 0 warnings
Error: Compiler internal error. Process terminated with exit code 1

1 comment
Comment actions Permalink

Fixed in 3216. Already available for download.
-


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

Oh boy, I just wanted to test if my tiny open source project compiles
and runs with JDK 1.3, downloaded from Sun's archive, installed,
configured as project JDK.

Rebuild project - crash. Messages window has no context menu (to let
me copy the exception. Must export to text file and copy from that
dialog). Tried ant. Idea says "Ant build completed successfully at
16:43:14 in 0s". Wow, that's fast. Obviously ant is broken, too - does
nothing.

Compiled with JDK 1.3 and ant on command line -> everything's fine.

My, my, imagine that were my first evaluation of Idea on a company's
legacy project...

Information: java.lang.UnsupportedClassVersionError:
com/intellij/rt/compiler/JavacRunner (Unsupported major.minor version
48.0)

Information: at java.lang.ClassLoader.defineClass0(Native Method)

Information: at
java.lang.ClassLoader.defineClass(ClassLoader.java:488)

Information: at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106
)

Information: at
java.net.URLClassLoader.defineClass(URLClassLoader.java:243)

Information: at
java.net.URLClassLoader.access$100(URLClassLoader.java:51)

Information: at java.net.URLClassLoader$1.run(URLClassLoader.java:190)

Information: at java.security.AccessController.doPrivileged(Native
Method)

Information: at
java.net.URLClassLoader.findClass(URLClassLoader.java:183)

Information: at java.lang.ClassLoader.loadClass(ClassLoader.java:294)

Information: at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)

Information: at java.lang.ClassLoader.loadClass(ClassLoader.java:250)

Information: at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)

Information: Exception in thread "main"

Information: Compilation completed with 1 errors and 0 warnings

Information: 1 error

Information: 0 warnings

Error: Compiler internal error. Process terminated with exit code 1



0

Please sign in to leave a comment.