I'm trying to run IntelliJ from Gnome3's Applications menu, but it complains the JAVA_HOME variable is not set.
I have the Java installation under my home folder.
I managed to export the variable in my ~/.bashrc:
export JAVA_HOME=~/jdk1.6.0_32
and I successfully ran IntelliJ from the command line.
I thought it's normal that configuration is ignored as Gnome should not assume we are using bash, isn't it?
I hoped that .profile to be the correct place to use, but it does not seem to have any effect.