Installing Aptana on Ubuntu 8.04
Author: leveille
5
May
Quick install guide for Aptana on Ubuntu 8.04. Modeled after the Installing Aptana Studio on Debian guide found at the Aptana page for Installing Aptana on Linux. The issue with the guide provided by Aptana (at least for Ubuntu) is that Ubuntu comes with FF 3 Beta 5 (as of the time of this writing) by default. Aptana doesn’t play nicely with FF 3 Beta 5, and after what appears to be a successful install, spits back an “embedded browser not available” error. Note: you don’t have to worry about uninstalling FF 3!
- Install Java (sudo apt-get install sun-java6-jre sun-java6-plugin sun-java6-fonts)
- Install Firefox 2 (sudo apt-get install firefox-2)
- Download and unzip aptana to /usr/local/aptana
- Save the following script as runAptana.sh to /usr/local/aptana
#!/bin/bash
export MOZILLA_FIVE_HOME=/usr/lib/firefox
/usr/local/aptana/AptanaStudio
- Make runAptana.sh executable (sudo chmod a+x runAptana.sh)
- Create a desktop launcher for Aptana and point it at runAptana.sh
- Right click on your desktop
- Click on Create Launcher
- Name: Aptana
- Command: browse for runAptana.sh
- Open firefox-2 Profile Manager (sudo firefox-2 -ProfileManager)
- Create ff Profile “aptana” dedicated for Aptana debugging.
- Start ff with the aptana Profile: (sudo firefox-2 -P aptana)
- Download from here http://update.aptana.com/update/firebug.xpi and install the firebug extension, modified for Aptana debugging. Close Aptana Profile of firefox.
- Start Aptana.
- Go to Run -> Debug…
- click on the Web Browser within the left pane
- Press the ‘New’ button.
- Within the right pane: Name the new configuration “Firefox”
- Fill within:
- Browser executable: /usr/bin/firefox-2
- Arguments: -P aptana -no-remote
Filed under: Aptana, linux
12 Responses for "Installing Aptana on Ubuntu 8.04"
Great post, I was searching for a while why Aptana was playing up with Ubuntu 8.04.
It’s the Firefox 3 Beta 5 issue.
Thanks for sharing.
No problem Matthew. I hope you had a much easier time with this than I initially had.
Great post !! Direct, simple, objective .
Congratulations!
Hey! THANK You very much for this post. It was really helpful for me. Congrats.
I find it interesting that the last two comments have ended with congrats. Have I won something?
Anyway, no problem Alan.
Worked like a charm, thank you very much!
Thanks!
Does anyone know if Aptana works okay with Firefox 3, as Ubuntu has updated ff from 3b5 to 3.0
I just took a look and it appears that Aptana now plays nicely with FF3.0 as the debugger. I could be wrong.
Thanks. That is what I have found, but i am new to Aptana and Ubuntu hardy herron, so just wanted to check.
Have FF3 and Hardy 64 and cant get sun-java6-plugin….
“sun-java6-jre is already the newest version.
Package sun-java6-plugin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source”
……..have all repositories enabled….get this error on launch:
!STACK 1
java.lang.UnsatisfiedLinkError: /usr/local/aptana/configuration/org.eclipse.osgi/bundles/98/1/.cp/libswt-pi-gtk-3236.so: /usr/local/aptana/configuration/org.eclipse.osgi/bundles/98/1/.cp/libswt-pi-gtk-3236.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
Sorry I had to edit your comment Rob, but it was a bit long. It looks like you are running the 64 bit version of Hardy. I am running the 32 bit version. I couldn’t tell you exactly why you are having issues with the installation of the java plugin, however you might have better luck searching for solutions at the Ubuntu forums.
Best of luck.
Leave a reply