javac: invalid target release: 1.8
For IntelliJ14 you may have to change the bytecode version w.r.t. the JDK you are using (in the global settings):
if you are going to step down, then change your project's source to 1.7 as well,
right click on your Project -> Properties -> Sources window
and set 1.7
here
note: however I would suggest you to figure out why it doesn't work on 1.8
- Download JDK 8.
Edit your env var for
JAVA_HOME
to point to the new installed JDK 1.8:R-click on My Computer -> Properties -> Advanced System Settings -> Environment VariablesfindJAVA_HOME
on the list and set it's value to something like that:C:\Program Files\Java\jdk1.8.0_31
Find the old version and edit it in
PATH
variable aswell.- Probably you will need to restart the system.
Should be done.