Search code examples
osgiapache-karafhawtio

Unable to install hawtio feature in apache-karaf


I Use the following 2 commands to install the hawtio feature in apache karaf

features:addurl mvn:io.hawt/hawtio-karaf/1.4.17/xml/features features:install hawtio

When I run "features:install hawtio" I get the following error

"Error executing command: Could not start bundle mvn:io.hawt/hawtio-osgi-jmx/1.4.17 in feature(s) hawtio-core-1.4.17: Activator start error in bundle io.hawt.hawtio-osgi-jmx [286]"

Could you help me fix this.


Solution

  • I was using the wrong Java version, I was using 1.6.x the compatible version for hawtio 1.4.17 is Java 1.7.x