Setting up the Java Dev Environment in Slackware 14 – Part 3

IntelliJIDEA

This is the third part in the series ‘Setting up the Java Dev Environment in Slackware‘. The previous part was to discuss about how to install IDEs for java development in Slackware. And it was ending with mentioning IntelliJ IDEA but without giving the steps to install it. So this part will be dealing with that.

Steps for installation :

  1. Download the Gnu/Linux package.
  2. Login as root :
    $ su
    $ Password:
  3. Copy the downloaded file to /opt/ :
    # cp /home/user/downloads/ideaIC-12.1.4.tar.gz   /opt/
  4. Uncompress the file and rename the uncompressed directory :
    # cd /opt/
    # tar -xzvf /opt/ideaIC-12.1.4.tar.gz
    # mv -f ideaIC-12.1.4/ idealC
  5. Create an executable file :
    # touch /usr/bin/IDEA 
    # chmod 755 /usr/bin/IDEA
    Open the file in an editor
    # vim /usr/bin/IDEA
    and paste the following lines

    #!/bin/sh 
    export IDEA_HOME="/opt/idealC/bin" 
    $IDEA_HOME/idea.sh $* 

    OR we can directly link the `IDEA_HOME/idea.sh`

    # ln -fs /opt/idealC/bin/idea.sh /usr/bin/IDEA

    but I think the first approach is the neat one.

  6. Create an entry in menu :
    Create an entry in KDE or XFCE Menu.
Advertisements

One thought on “Setting up the Java Dev Environment in Slackware 14 – Part 3

  1. Setting up the Java Dev Environment in Slackware 14 – Part 2 – Slacker Boy

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s