Update oab-java.sh

change tail command