You can also change this based on a separate project, rather than setting the default bytecode version in global settings.
In 2016:
File → Project Structure
In the section "Project Settings" → Modules
Select the module to change in the left pane.
In the Sources section, change "Language Level:" to any level supported by your JDK

moonlightcheese
source share