adding support for java heatbridge build