long literals are defined by using the suffix L or l, or by using an integral values within the range of long:

long l = 5L;