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!
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....
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
