Changed move()'s direction to be a double.  An integer * double caused a problem.  We changed to double * double and the java issue has not yet occurred yet again.