Issues with ActiveMQ 5.14.2 and Java 8

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Issues with ActiveMQ 5.14.2 and Java 8

Mike Garcia
Hi,

We just updated our systems to Java 8 and now ActiveMQ 5.14.2 fails to launch.  We get the following error message in the wrapper.log  file when we try to launch the ActiveMQ service:


Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'

has value '1.8', but '1.7' is required.

Error: could not find java.dll

Error: Could not find Java SE Runtime Environment.


Shouldn't ActiveMQ 5.14.2 run fine in Java 8?  What do we need to change in order to get ActiveMQ running again?  The Java 8 update won't be backed out because it's a required update from our security team.


Thanks,

-Mike

Reply | Threaded
Open this post in threaded view
|

Re: Issues with ActiveMQ 5.14.2 and Java 8

tabish121@gmail.com
On 6/26/19 5:34 PM, Mike Garcia wrote:

> Hi,
>
> We just updated our systems to Java 8 and now ActiveMQ 5.14.2 fails to launch.  We get the following error message in the wrapper.log  file when we try to launch the ActiveMQ service:
>
>
> Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'
>
> has value '1.8', but '1.7' is required.
>
> Error: could not find java.dll
>
> Error: Could not find Java SE Runtime Environment.
>
>
> Shouldn't ActiveMQ 5.14.2 run fine in Java 8?  What do we need to change in order to get ActiveMQ running again?  The Java 8 update won't be backed out because it's a required update from our security team.

ActiveMQ 5 did not start supporting JDK 8 until 5.15.0 so I'd suggest
upgrading to the latest 5.15.x release in order for best compatibility
with your new JDK install


>
> Thanks,
>
> -Mike
>
>

--
Tim Bish

Reply | Threaded
Open this post in threaded view
|

Re: Issues with ActiveMQ 5.14.2 and Java 8

Mike Garcia
Yeah I thought about that.  Updating ActiveMQ is a longer process for us because multiple teams use it in a different ways.  I've seen where some people suggest removing the java.exe, javaw.exe executables from the windows\system32 folder and that seems to work.  Those versions were reporting as java7 executables.  Maybe that's my problem right there?  Not sure.

Thanks,
-Mike

________________________________
From: Timothy Bish <[hidden email]>
Sent: Wednesday, June 26, 2019 3:40 PM
To: [hidden email]
Subject: Re: Issues with ActiveMQ 5.14.2 and Java 8

On 6/26/19 5:34 PM, Mike Garcia wrote:

> Hi,
>
> We just updated our systems to Java 8 and now ActiveMQ 5.14.2 fails to launch.  We get the following error message in the wrapper.log  file when we try to launch the ActiveMQ service:
>
>
> Error: Registry key 'Software\JavaSoft\Java Runtime Environment'\CurrentVersion'
>
> has value '1.8', but '1.7' is required.
>
> Error: could not find java.dll
>
> Error: Could not find Java SE Runtime Environment.
>
>
> Shouldn't ActiveMQ 5.14.2 run fine in Java 8?  What do we need to change in order to get ActiveMQ running again?  The Java 8 update won't be backed out because it's a required update from our security team.

ActiveMQ 5 did not start supporting JDK 8 until 5.15.0 so I'd suggest
upgrading to the latest 5.15.x release in order for best compatibility
with your new JDK install


>
> Thanks,
>
> -Mike
>
>

--
Tim Bish

Reply | Threaded
Open this post in threaded view
|

Re: Issues with ActiveMQ 5.14.2 and Java 8

Tim Bain
If your question is really "Is it possible to hand-modify a Java
application that's not compatible with a Java 8 JRE to make it run under
one?", you'd probably be better off asking that question in another
location such as StackOverflow, where people who are experts in that sort
of thing hang out.

Tim

On Wed, Jun 26, 2019, 6:26 PM Mike Garcia <[hidden email]>
wrote:

> Yeah I thought about that.  Updating ActiveMQ is a longer process for us
> because multiple teams use it in a different ways.  I've seen where some
> people suggest removing the java.exe, javaw.exe executables from the
> windows\system32 folder and that seems to work.  Those versions were
> reporting as java7 executables.  Maybe that's my problem right there?  Not
> sure.
>
> Thanks,
> -Mike
>
> ________________________________
> From: Timothy Bish <[hidden email]>
> Sent: Wednesday, June 26, 2019 3:40 PM
> To: [hidden email]
> Subject: Re: Issues with ActiveMQ 5.14.2 and Java 8
>
> On 6/26/19 5:34 PM, Mike Garcia wrote:
> > Hi,
> >
> > We just updated our systems to Java 8 and now ActiveMQ 5.14.2 fails to
> launch.  We get the following error message in the wrapper.log  file when
> we try to launch the ActiveMQ service:
> >
> >
> > Error: Registry key 'Software\JavaSoft\Java Runtime
> Environment'\CurrentVersion'
> >
> > has value '1.8', but '1.7' is required.
> >
> > Error: could not find java.dll
> >
> > Error: Could not find Java SE Runtime Environment.
> >
> >
> > Shouldn't ActiveMQ 5.14.2 run fine in Java 8?  What do we need to change
> in order to get ActiveMQ running again?  The Java 8 update won't be backed
> out because it's a required update from our security team.
>
> ActiveMQ 5 did not start supporting JDK 8 until 5.15.0 so I'd suggest
> upgrading to the latest 5.15.x release in order for best compatibility
> with your new JDK install
>
>
> >
> > Thanks,
> >
> > -Mike
> >
> >
>
> --
> Tim Bish
>
>