now also the non local measurements are working!
NOTE use always java 7!