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 Loading and Saving pane of the Utilities>Buffer Options dialog box.