You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by Lephix <le...@163.com> on 2007/12/20 14:03:55 UTC

is activemq 5.0 release does not work in jdk 1.4.2_04?

i just download the activemq 5.0 and when i typed ACTIVEMQ.BAT in to command
line, there is an error seems there is something wrong with my jdk. my jdk
version is SUN 1.4.2_04.

i got activemq 4.1.1. and it can work with the jdk.

these are the errors printed in the console:
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/ac
tivemq/console/Main (Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
        at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
3)
        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)
-- 
View this message in context: http://www.nabble.com/is-activemq-5.0-release-does-not-work-in-jdk-1.4.2_04--tp14435935s2354p14435935.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: is activemq 5.0 release does not work in jdk 1.4.2_04?

Posted by Lephix <le...@163.com>.
thank you guys~~  i will try what you said.



James.Strachan wrote:
> 
> On 20/12/2007, Rob Davies <ra...@gmail.com> wrote:
>> Unfortunately ActiveMQ 5 runs on JRE 5 and above
> 
> If you must use Java 1.4 you can install the retrotranslator JIT...
> http://retrotranslator.sourceforge.net/#jit
> 
> see
> http://cwiki.apache.org/ACTIVEMQ/can-i-use-activemq-5x-or-later-on-java-14.html
> 
> -- 
> James
> -------
> http://macstrac.blogspot.com/
> 
> Open Source Integration
> http://open.iona.com
> 
> 

-- 
View this message in context: http://www.nabble.com/is-activemq-5.0-release-does-not-work-in-jdk-1.4.2_04--tp14435935s2354p14438455.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Re: is activemq 5.0 release does not work in jdk 1.4.2_04?

Posted by James Strachan <ja...@gmail.com>.
On 20/12/2007, Rob Davies <ra...@gmail.com> wrote:
> Unfortunately ActiveMQ 5 runs on JRE 5 and above

If you must use Java 1.4 you can install the retrotranslator JIT...
http://retrotranslator.sourceforge.net/#jit

see http://cwiki.apache.org/ACTIVEMQ/can-i-use-activemq-5x-or-later-on-java-14.html

-- 
James
-------
http://macstrac.blogspot.com/

Open Source Integration
http://open.iona.com

Re: is activemq 5.0 release does not work in jdk 1.4.2_04?

Posted by Rob Davies <ra...@gmail.com>.
Unfortunately ActiveMQ 5 runs on JRE 5 and above

On Dec 20, 2007, at 1:03 PM, Lephix wrote:

>
> i just download the activemq 5.0 and when i typed ACTIVEMQ.BAT in to  
> command
> line, there is an error seems there is something wrong with my jdk.  
> my jdk
> version is SUN 1.4.2_04.
>
> i got activemq 4.1.1. and it can work with the jdk.
>
> these are the errors printed in the console:
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> org/apache/ac
> tivemq/console/Main (Unsupported major.minor version 49.0)
>        at java.lang.ClassLoader.defineClass0(Native Method)
>        at java.lang.ClassLoader.defineClass(ClassLoader.java:537)
>        at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
> 3)
>        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)
> -- 
> View this message in context: http://www.nabble.com/is-activemq-5.0-release-does-not-work-in-jdk-1.4.2_04--tp14435935s2354p14435935.html
> Sent from the ActiveMQ - User mailing list archive at Nabble.com.
>