Java serial adam