[Linux Ubuntu] Confused...

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

Moderator: Aptana Staff

[Linux Ubuntu] Confused...

Postby xhalloweenx » Sun Mar 15, 2009 2:54 pm

Im very confused on what needs done.
I tried to run AptanaStudio and it gets to the end of the loading bar and then fails.

I am extremly new to linux.
Any help would be greatly appreciated.
Here is my log it told me to check.
http://www.MegaShare.com/649214

I run linux ubuntu 8.10+
I tried to follow 1 of the sticked threads and i didn't get any further


Thanks for your time and patience,
- xHalloweenx
xhalloweenx
 
Posts: 1
Joined: Sun Mar 15, 2009 2:27 pm

Re: [Linux Ubuntu] Confused...

Postby stevewalker » Mon Mar 16, 2009 9:34 am

Aptana Studio 1.2.x requires Xulrunner 1.8. Out of the box, Ubuntu includes 1.9 so first you need to install Xulrunner 1.8 via Synaptic. Next you need to setup a launch script like this to configure the environment for Aptana:

Code: Select all
#!/bin/sh
MOZILLA_FIVE_HOME=/usr/lib/xulrunner
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
/usr/local/aptana/AptanaStudio $@


Update the Apana Studio path to wherever you've installed it.
User avatar
stevewalker
 
Posts: 114
Joined: Fri Jun 13, 2008 7:33 pm
Location: UK

Re: [Linux Ubuntu] Confused...

Postby scribbly » Mon Mar 23, 2009 1:42 pm

Hi,
This should get you out of trouble
viewtopic.php?p=24711#p24711
for some background and
viewtopic.php?p=25814#p25814
for the updated script for selecting your JVM
and any of my other posts for specifics for other distros.

Aptana Studio is VERY simple to get working when you follow the above instructions,
specifically the correct JRE in the ApatanaStudio command line, especially if you have a few versions installed,
and MOST IMPORTANTLY, the correct XULRUNNER.
XULRUNNER V1.9.x.x used by default in Ubuntus 8.04, 8.1 and 9.04, and most current distros, is NOT COMPATIBLE.
You do not need Firefox 2.0, just its XULRUNNER package, anything 1.8.1.x(usually available in Ubuntu Synaptic) works fine for 32bit Ubuntu.

For 64bit distros, see this thread...it is a whole other animal, with its own special requirements, although along very similar lines.
viewtopic.php?f=37&t=7147

Best Regards,
Scribbly
scribbly
 
Posts: 34
Joined: Tue Sep 30, 2008 12:57 am


Return to Getting Started with Studio