4

ActiveMQ Message broker requires Java JDK (not the Java runtime JRE). Does anyone know why?

Thank you.

M99
  • 1,859
  • 10
  • 28
  • 50

2 Answers2

4

I'm not sure that you actually do. Although it's listed on the requirements page, on http://activemq.apache.org/support.html you find

What platform of Java (e.g., Java SE 6 with JRE/JDK 1.6.0 or J2SE 5 with JRE/JDK 1.5.0)

Under 'how to get help'. Have you tried it with a JRE instead of a JDK?

Matthijs Bierman
  • 1,720
  • 9
  • 14
  • 2
    I tried it with JRE. No issues. But the website says I need JDK. http://activemq.apache.org/getting-started.html#GettingStarted-PreInstallationRequirements – M99 Nov 08 '11 at 21:42
  • I read that too. It may simply be that JDK and JRE are occasionally used synonymously. – Matthijs Bierman Nov 09 '11 at 15:18
  • (More likely, the article on which the information was based, now missing at the reported link, was written by a developer who just happened to set up that way though unnecessarily.) – Russ Bateman Mar 24 '15 at 15:01
0

From ActiveMQ Document:

Environment: Java Runtime Environment (JRE) JRE 1.7 (1.6 for version <=5.10.0) (a JDK is required if you plan to recompile source code)

JRE is fine unless you have to recompile ActiveMQ.

Val
  • 21,938
  • 10
  • 68
  • 86