updated java

up and down arrow keys are now being pulled from the local server