Sending serial data to Uno via Java. Code works on Uno R3 but not on Mega2560

If the RX light is blinking the data is getting to the processor... Perhaps it is time to show your code. Maybe someone can spot code that could cause a problem on a MEGA.