Friday, October 2, 2009

How to run IntelliJ IDEA from Ubuntu Menu

After you had installed IntelliJ IDEA onto your PC with Ubuntu you probably want to add to it to Main Menu. But shortcut to
idea.sh
doesn't work as expected, you need command like this:
sh -c "export JDK_HOME=/usr/lib/jvm/java-6-sun && /path/to/idea/bin/idea.sh"
and all will be ok.

No comments: