Added java cmd registration with alternatives
Merge branch 'devrole'