1.Download aptana linux version and unzip it in to /Aptana folder
2.create a txt file named aptana.sh and chmod 700 for it
#vim aptana.sh
insert lines below
#!/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/jre/bin/java
#chmod 700 aptana.sh
3.goto the url to download xulrunner 1.8
http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.1.3/contrib/linux-i686/xulrunner-1.8.1.3.en-US.linux-i686-20080128.tar.gz
4.mkdir a folder in aptana folder and tar the xulrunner-1.8.1.3.en-US.linux-i686-20080128.tar.gz
#sudo mkdir /Aptana/xulrunner-1.8.1.3
5.copy all contents from xulrunner to /usr/lib/xulrunner-1.8.1.3
#sudo cp -r xulrunner/* /usr/lib/xulrunner-1.8.1.3
沒有留言:
張貼留言