To add to Justin's points, that old JRE is forcing you to use an old
version of ActiveMQ, for which many bugs were later fixed. Upgrade to a
more modern JRE (probably Java 8, unless SAP PI 7.1 supports Java 9+, but
that certainly isn't guaranteed given that it was released in 2008), and
then upgrade to a recent version of ActiveMQ.

Tim

On Thu, Dec 12, 2019, 9:36 AM Justin Bertram <jbert...@apache.org> wrote:

> Check out the documentation [1].  In short, ActiveMQ 5.7 looks to be the
> last version that supports Java 5 (JDK 1.5) so you'll need to use a client
> from that version. I would expect later releases of the broker to be
> backwards compatible with older clients.
>
> Aside from that, I recommend you move to a later version of Java. According
> to Wikipedia [2] public support and security updates for Java 1.5 ended in
> November 2009. Paid security updates for Oracle customers ended in April
> 2015. You're using a really old platform at this point which is both a
> support and security risk.
>
>
> Justin
>
> [1] https://activemq.apache.org/what-platforms-does-activemq-support
> [2] https://en.wikipedia.org/wiki/Java_version_history#J2SE_5.0
>
> On Thu, Dec 12, 2019 at 9:53 AM JLhr <jose_hreicha...@gmx.es> wrote:
>
> > Hi,
> >
> > We have a SAP PI 7.1, with JAVA 1.5 and when uploading the latest driver
> > version  of ActiveMQ, we get the following error:
> >
> > Error while starting channel:
> org/apache/activemq/ActiveMQConnectionFactory
> > has been compiled by a more recent version of the Java Runtime (class
> file
> > version 52.0), this version of the Java Runtime only recognizes class
> file
> > versions up to 49.0
> >
> > @ ActiveMQ / Forum: Please, can you provide me with a driver version that
> > is
> > compatible with the JAVA version or some other solution?
> >
> > Thanks, Regards,
> > Jose
> >
> >
> >
> > --
> > Sent from:
> > http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
> >
> >
>

Reply via email to