Skip to content

Instantly share code, notes, and snippets.

@Sciss
Created February 17, 2014 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sciss/9055630 to your computer and use it in GitHub Desktop.
Save Sciss/9055630 to your computer and use it in GitHub Desktop.

To install:

sudo apt-get install openjdk-6-jdk

and

sudo apt-get install openjdk-7-jdk

Somehow this leaves OpenJDK 6 as default (which is fine).

IntelliJ IDEA doesn't work with OpenJDK 6 on Linux.

Do the following

export JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/
cd ~/Applications/ideaIC-13/idea-IC-133.696/
./bin/idea.sh

This overrides JAVA_HOME only for this shell task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment