You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Bernd Fondermann <bf...@brainlounge.de> on 2006/01/19 22:32:45 UTC

clean build cannot be run under JDK1.4.2

hi stefano,

starting a freshly build dist fails under 1.4.2 (not 1.5) with:

Running Phoenix:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/avalon/phoenix/launcher/Main (Unsupported major.minor
version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
         at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
         at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)

when i revert to older phoenix version
    svn up -r 365881
and do a rebuild, everything is fine, but after
    svn up -r HEAD
the above error returns.

could it be, at least one jar you commited has been build with jdk5?

   bernd



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: clean build cannot be run under JDK1.4.2

Posted by Stefano Bagnara <ap...@bago.org>.
Bernd Fondermann wrote:
> hi stefano,
> [...]
> could it be, at least one jar you commited has been build with jdk5?
> 
>   bernd

Sure, my fault.
I will rebuild phoenix with jdk 1.4 the next week.

Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org