IntelliJ IDEA shortcut in linux

After a lot of digging around, I finally came across this blog entry telling how to make a shortcut to IDEA work in linux. In short, change your shortcut to something like the following:

/bin/sh -c "export JDK_HOME=/usr/lib/jvm/java-6-sun && /opt/IntelliJIdea8/bin/"

Voila! Victory is mine!


One thought on “IntelliJ IDEA shortcut in linux

  1. If the problem is you’re launching in GNOME, and it’s not respecting your .profile/.bashrc, you can also set in /etc/environment which does work – I got burned the last time different dev tools were pointed at different JVMs…

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s