Installed intellij and added sdk path to project structure, but when i try to run i get:
Error: Cannot run program "/home/$USER/java/jdk1.8.0_121/bin/java"
(in directory"/home/$USER/.intelliJIdea2016.3/system/compile-server"):
error=2, No such file or directory
Both files (/home/$USER/java/jdk1.8.0_121/bin/java and /home/$USER/.intelliJIdea2016.3/system/compile-server) exists.
I am using Ubuntu 16.10
$USER
in the error message or did you replace it when posting the question?