RSS RSS

Updated: Missing environment variables in IntelliJ IDEA?

By , 2 Jul 2009 12:37 pm

Updated 2010-04-08

I am running IntelliJ IDEA on an Ubuntu 9.04 desktop at work and I’ve had troubles when the IDE attempts to run build scripts, such as Ant or Maven. Typically the scripts would fail with an error message along the lines of “unable to find ${env.APP_HOME}” when looking for a folder whose path was set by my environment variables.

I’ve troubleshot this and found that IDEA isn’t starting with any of my login environment variables when launched from the panel. When I started the IDEAPATH/bin/idea.sh script from the Terminal, everything was peachy. It only failed when I started the application with the gnome-panel or Gnome-Do.

Continue reading “Updated: Missing environment variables in IntelliJ IDEA?” »

Persephone Theme by Themocracy