By default, jEdit strips the final end of line character when loading a buffer, and re-adds it when saving. You can specify that the final end of line be always visible in the
General
pane of the
Utilities
>
Buffer Options
dialog box.