activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Maxim Zinal (JIRA)" <>
Subject [jira] [Commented] (AMQ-3984) ActiveMQ is incompatible with JDK 1.5
Date Tue, 21 Aug 2012 16:05:40 GMT


Maxim Zinal commented on AMQ-3984:

At least the following documents state that ActiveMQ is targeted towards JDK 1.5:

I also could not find anywhere which was the last ActiveMQ release to support JDK 1.5.
> ActiveMQ is incompatible with JDK 1.5
> -------------------------------------
>                 Key: AMQ-3984
>                 URL:
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker, Message Store
>    Affects Versions: 5.6.0
>         Environment: Debian/GNU Linux 6.0
>            Reporter: Maxim Zinal
>            Priority: Minor
>         Attachments: activemq-5.6.0-JDK15.diff
> ActiveMQ documentation claims to support Java 5, which is not currently true: at least
JDK 6 is required to build and run ActiveMQ 5.6.0.
> I was not able to build ActiveMQ with Sun JDK 1.5, because build fails on KahaDB with
the following error message:
> [ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.5:bundle (default-bundle)
on project kahadb: Execution default-bundle of goal org.apache.felix:maven-bundle-plugin:2.3.5:bundle
failed: An API incompatibility was encountered while executing org.apache.felix:maven-bundle-plugin:2.3.5:bundle:
java.lang.NoSuchMethodError: java.lang.String.getBytes(Ljava/nio/charset/Charset;)[B
> I was able to run ActiveMQ broker under IBM JDK 5 (in WebSphere Application Server 6.1
environment) after applying some code changes and rebuilding ActiveMQ with Oracle JDK 7 (in
compatibility mode, with "-source 1.5 -target 1.5" options).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message