Wednesday, July 21, 2010

install intellij IDEA

  • if re-installing make sure to delete/rename the cache dir of IDEA~/.ideaxxx
  • cd ~/apps to create launcher follow
  • wget http://download.jetbrains.com/idea/ideaIU-95.413.tar.gz
  • tar xvfz ideaIU-95.413.tar.gz
  • rm -rf ideaIU-95.413.tar.gz
  • to install scala plugin download from
  •  cd ~/apps/idea-IU-95.413/plugins
  • wget http://download.jetbrains.com/scala/scala-intellij-bin-0.3.1888.zip
  • unzip scala-intellij-bin-0.3.1888.zip
  • nano ~/apps/idea-IU-95.413/bin/run-idea.sh

    #!/bin/bash
    
    export JDK_HOME=$JAVA_HOME 
    export IDEA_JDK=$JAVA_HOME
    export IDEA_HOME=~/apps/idea-IU-95.413
    
    export IDEA_VM_OPTIONS="$IDEA_HOME/bin/idea.vmoptions"
    export IDEA_PROPERTIES="$IDEA_HOME/bin/idea.properties"
    
    cd "$IDEA_HOME/bin"
    export LIBXCB_ALLOW_SLOPPY_LOCK=1
    
    ./idea.sh
  • chmod 755 ~/apps/idea-IU-95.413/bin/run-idea.sh
  • follow this blog entry to create a IDEA project in scala

No comments: