7.1. Enabling Colorized Console Output On Windows
The default Karaf installation does not produce colorized console output on Windows like it does on Unix based systems. To enable it, you must install LGPL licensed library JNA. This can be done using a few simple commands in the Karaf console:
You first need to install the JNA library:
Code Block |
---|
osgi:install wrap:mvn:http://download.java.net/maven/2!net.java.dev.jna/jna/3.1.0
|
Next you need either restart karaf or you run the following Karaf commands to refresh the Karaf Console:
Code Block |
---|
osgi:list | grep "Apache Felix Karaf :: Shell Console"
|
Take note of the ID of the bundle, in my case it was 14 and then run:
Code Block |
---|
osgi:refresh 14
|
#top