I\'m beginner in Java. I\'m reading data from device through serial port. I\'m getting data for every one minute, but first reading is coming half, after that data is coming
This looks as if you were reading the rest of some message which was sent before you started.
Try to read as much data as possible as you start the program to clear any hardware buffers. After that, start your processing.