Installing Java Development Tools in Aptana on Ubuntu 11.10

About Aptana


Aptana, Inc. is a company making web application development tools for Web 2.0 and Ajax for use with programming languages such as JavaScriptRubyPHP and Python. Aptana’s main products are Aptana StudioAptana Cloud and Aptana Jaxer. 

Aptana Studio is an open source integrated development environment (IDE) for building Ajax web   applications. It includes support for JavaScript, HTMLDOM, andCSS with code-completion, outlining, JavaScript debugging, error and warning notification and integrated documentation. Additional plugins allow Aptana Studio to be extended to support Java, Ruby on Rails, PHP, Python, Perl, Adobe AIR, Apple iPhone and Nokia WRT (Web Runtime). Aptana Studio is based on Eclipse and is available as standalone on Microsoft WindowsMac OS X and Linux, or as a plugin for Eclipse.

Aptana Installation on Ubuntu 11.10


        1.  Install Sun Java 
          sudo add-apt-repository ppa:ferramroberto/java
          sudo apt-get update
          sudo apt-get install sun-java6-jdk sun-java6-plugin
          

          **NB:Aptana Studio doesn’t currently work with OpenJDK

        2. Download & install xulrunner
          Ubuntu 32 bit use:

          wget -O xulrunner.deb http://launchpadlibrarian.net/70321863/xulrunner-1.9.2_1.9.2.17%2Bbuild3%2Bnobinonly-0ubuntu1_i386.deb
          

          Ubuntu 64 bit use:

          wget -O xulrunner.deb http://launchpadlibrarian.net/70321329/xulrunner-1.9.2_1.9.2.17%2Bbuild3%2Bnobinonly-0ubuntu1_amd64.deb
          
          sudo dpkg -i xulrunner.deb

          **NB: Ubuntu 11.10 doesn’t include xulrunner so it must be downloaded.

        3.  Download the Standalone version of Aptana Studio 3 from the Aptana Studio website
        4.  Unzip it to /opt/aptana-studio-3
          sudo unzip [name of Aptana Studio ZIP file here].zip -d /opt
          sudo mv /opt/Aptana\ Studio\ 3 /opt/aptana-studio-3

Aptana Running


        1. Create a shell file and paste these codes
          #!/bin/bash
          export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
          /opt/aptana-studio-3/Aptana\ Studio\ 3/studio3
          
        2. Change the file permission
          chmod +filename.sh
        3. Run Apatana
          sudo sh filename.sh

Installing Java Development Tools


          1. Enable the proper software repository
            • select the Help / Install New Software… menu
            • under the top Work with drop-down menu, click the link in the phrase, Find more software by working with the Available Software Sites preferences
            • Enable the Eclipse Helios Update Site
            • Click the OK button
          2. Find and Install the Java Tooling
            • using the Work with drop-down menu, select Eclipse Helios Update Site
            • wait for the package list to be populated
            • select the Programming Languages / Eclipse Java Development Tools package from the list
            • click the Next button
            • click the Next button on the Install Details screen that follows
            • accept the license agreement
            • click the Finish button
            • once the installation is complete, click the Restart Now button

Reference


        1. http://www.samclarke.com/2011/11/how-to-install-aptana-studio-3-on-ubuntu-11-10-oneiric/
        2. Ingo M.,”Installing Java Development Tools”
        3. http://aptana.com/products/studio3/getting_started
        4. http://en.wikipedia.org/wiki/Aptana
Advertisements

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