U-7 may refer to one of the following submarines:

Germany

Austria-Hungary