An issue may occur where annotation text does not appear on separate lines. This occurs because Linux has different line-end characters than Windows. Linux uses just a line feed while Windows uses a carriage return + line feed (CRLF).

To solve this issue, add the following line in your code so that line-end characters will be the same on all systems:

System.setProperty("line.separator","\r\n")