Better Java location tracking