I am facing some issue in IntelliJ IDEA compiler settings. I have JDK 8 installed and one of the project in idea works only on JDK 6.
I have changed the compiler version in idea in preferences -> Java Compiler page and restarted idea.
The problem I am facing is that on idea Terminal the version is not getting updated. Is there any way other than setting the JAVA_HOME in .profile within idea to solve this?