JBIDE-13839 - Adding runtimes through runtime-detection does not work properly