Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Discussion for Aptana Studio newbies about how to get Studio up and running.

Moderator: Aptana Staff

Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Postby scribbly » Tue Nov 04, 2008 8:04 am

Hi All,
I thought I would share this with you as all that I have read in the forums and scattered installation/troubleshooting/requirements pages suggests Aptana Studio Standalone should/will not work on 64bit Linux.
After initially trying using the methods I documented for 32bit in the 'Linux Installation Issues' sticky, I gave up and headed down the Eclipse+plugin route. In a fit of boredom while waiting for Eclipse to download/install/update Aptana...plus the rest of the internet(it is a BIG download/install/update), I decided to revisit the standalone.
I am glad I did, as the Eclipse+plugin uses ALOT of memory, nearly twice that of a standalone install on my system and the standalone seems to be a much 'cleaner' interface.

DISCLAIMER AT THIS POINT! :wink:
I am a rather BASIC Aptana user ie HTML,PHP,CSS,Javascript with preview, debugging and database explorer. I do not use Jaxer, or any of the other 'extended' features or plugins. As such, I have only tested to this point, and all SEEMS to be stable and working.


Step by step

1. Download and uncompress the .zip file. I have placed the resulting 'aptana' folder under my '/home' folder.
2. Create a new file called say 'aptana' in the 'aptana' folder and make it executable
3. Copy the following into that text file
Code: Select all
#!/bin/sh
MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.8.1.3
if [ $LD_LIBRARY_PATH ]; then
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
else
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME
fi
export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
~/aptana/AptanaStudio -vm /usr/lib/jvm/ia32-java-6-sun/jre/bin/java


4. The 'trick' seems to be using the CORRECT xulrunner AND the CORRECT java.
> UBUNTU Intrepid Ibex 8.1 64bit FINAL
>>java
Install either ia32-sun-java5-bin or ia32-sun-java6-bin using Synaptic. Both of these 32bit javas seem to work fine.
Add the correct path to the last line of the above code to point to the 32bit java version you have installed. It would make sense to point to the links, rather than the folders, in case later updates add/remove/change the java point versions.

>>xulrunner
Ubuntu installs by default(at least on mine) xulrunner version 1.9.0.3 at '/usr/lib/xulrunner-1.9.0.3', which is not compatible, giving you an informative 'An error has occured. See the log file.....' error.
Synaptic's xulrunner version 1.8.1.16 at '/usr/lib/xulrunner', is also not compatible, giving you the same informative 'An error has occured. See the log file.....' error.
You must download and install xulrunner version 1.8.1.3 from here
http://releases.mozilla.org/pub/mozilla ... 128.tar.gz
Unarchive using file roller to get a 'xulrunner' folder.
Open a terminal and type the following commands.

Code: Select all
sudo mkdir /usr/lib/xulrunner-1.8.1.3
sudo cp -r xulrunner/* /usr/lib/xulrunner-1.8.1.3


AND, that should be it.... :D
My VMware is currently not letting me install 64bit guests so I cannot test the other distros, which should be the same(or VERY similar) steps.

While I am now using Aptana Studio Standalone v1.2, I started the above testing using v1.1.? and it was stable as well.

I hope this is clear enough to follow.
Good luck!

Best Regards,
Scribbly
Last edited by scribbly on Mon Jun 15, 2009 10:14 pm, edited 2 times in total.
scribbly
 
Posts: 34
Joined: Tue Sep 30, 2008 12:57 am

Postby ernieofori » Sat Nov 08, 2008 6:56 am

Thank you for saving me a lot of time. it works well for me...
ernieofori
 
Posts: 1
Joined: Sat Nov 08, 2008 6:54 am

Postby skaverat » Wed Nov 19, 2008 10:45 pm

Studios never really run smoothly on linux for me (for about a year), but now with those (dirty) hacks it works. Good to know Aptana always keeps their products up to date :?
mundus vult decipi, ergo decipiatur
skaverat
 
Posts: 5
Joined: Wed Jan 30, 2008 8:18 pm

Thanks!

Postby nollenr » Fri Nov 21, 2008 5:34 pm

Also a newbie... thanks for helping me get off the ground.
nollenr
 
Posts: 1
Joined: Fri Nov 21, 2008 5:31 pm

Re: Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Postby sefsinc » Sun Mar 15, 2009 3:29 am

This worked well except I needed to remove -vm /usr/lib/jvm/blah blah from the last line.
sefsinc
 
Posts: 18
Joined: Sun Jul 30, 2006 6:26 pm

Re: Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Postby palma83 » Wed Mar 25, 2009 11:42 pm

I am a newbie, this information was very valuable. Thanks
palma83
 
Posts: 2
Joined: Wed Mar 25, 2009 11:41 pm

Re: Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Postby setheus » Tue Apr 21, 2009 12:05 pm

Works like a charm! Thanks!!
User avatar
setheus
 
Posts: 2
Joined: Sat Mar 07, 2009 1:24 am

Re: Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Postby k3mist » Mon Apr 27, 2009 2:18 pm

this works perfectly on ubuntu 9.04 (jaunty) and aptana studio 1.2.6.x, very excellent! Thanks man!
k3mist
 
Posts: 2
Joined: Wed Jan 14, 2009 3:44 am

Re: Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Postby fresht » Mon Apr 27, 2009 5:21 pm

I'm still struggling here guys, can't get Aptana Studio to work for me.
I'm trying to install AptanaStudio for linux.
I'm on Ubuntu Intrepid 8.10.
I've read many threads on this and have done the following:
downloaded xulrunner 1.8 to usr/lib/
created the following script: "#!/bin/bash
export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
/usr/local/aptana/AptanaStudio #filepath to Aptana folder"
I've made the script executable.
I've downloaded JRE but was confused by the following:
"setup JRE 1.6 x
"ls -l /usr/local/aptana/jre
/usr/local/aptana/jre -> /usr/java/jrel.6.0""
So maybe i've done something wrong here.

When i double click the file "runAptana.sh" the icon for Aptana displays and the orange progress bar starts with loading workbench plus some other instructions but then it stalls with the following message:
"An error has occurred. See the log file
/home/matt/Aptana Studio/.metadata/.log."

I'm a recent convert to Linux.
Can anybody help me understand what's going on?
fresht
 
Posts: 1
Joined: Mon Apr 27, 2009 4:53 pm

Re: Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Postby recarx » Wed Apr 29, 2009 9:52 pm

Thanks a lot!
This worked like a charm on Jaunty (9.04) x64
recarx
 
Posts: 1
Joined: Wed Apr 29, 2009 9:51 pm

Re: Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Postby afecelis » Thu May 07, 2009 4:07 am

Scribbly, you friggin' rule! :D

Thx a lot! I was about to give up running aptana on 64 bit ubuntu. You made my day! :)
Very nice and concise instructions.

regards,

Alvaro

ps. 1st post, warm regards to everyone in the aptana community! ;)
afecelis
 
Posts: 2
Joined: Thu May 07, 2009 4:05 am

Re: Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Postby lucassp » Wed May 13, 2009 10:32 am

Hey everybody!

I still can't get it to work after doing exactly what the tutorial says. I've attached the log.

Code: Select all
    #!/bin/sh
    MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.8.1.3
    if [ $LD_LIBRARY_PATH ]; then
    LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
    else
    LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME
    fi
    export MOZILLA_FIVE_HOME LD_LIBRARY_PATH
    ~/aptana/AptanaStudio -vm /usr/lib/jvm/java-6-sun-1.6.0.13/jre/bin/java


Thanks for the help!
Attachments
aptanalog.txt.7z
(3.67 KiB) Downloaded 52 times
lucassp
 
Posts: 6
Joined: Wed May 13, 2009 9:52 am

Re: Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Postby johnsourcer » Fri May 15, 2009 6:22 am

luccasp,

You must use the 32 bit JVM
~/aptana/AptanaStudio -vm /usr/lib/jvm/java-6-sun-1.6.0.13/jre/bin/java == nono!
johnsourcer
 
Posts: 4
Joined: Fri May 15, 2009 6:10 am

Re: Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Postby lucassp » Fri May 15, 2009 7:14 am

Sorry, I forgot to mention that I'm using Jaunty x86. But the problem is the same. Right now I tested Aptana Andretti and it works flawless.
lucassp
 
Posts: 6
Joined: Wed May 13, 2009 9:52 am

Re: Installing Aptana Studio Standalone on Ubuntu Intrepid 64bit

Postby afeder » Fri May 22, 2009 11:54 pm

Very informative post, thank you.
afeder
 
Posts: 1
Joined: Fri May 22, 2009 11:26 pm

Next

Return to Getting Started with Studio