fixed Java binding to live environment