You are not logged in.

#1 2008-02-11 03:09:30

foxbunny
Member
From: Serbia
Registered: 2006-10-31
Posts: 759
Website

Aptana Studio 1.x and Firefox 2.x [SOLVED]

Those of you who have had problems with FF 2.x and new Aptana Studio, here's the solution:

you need to set the MOZILLA_FIVE_HOME env var to point to /opt/mozilla/lib/firefox-2.0.0.11, not /opt/mozilla/bin as some have suggested elsewhere. On Arch, this works.

Put the following lines into your ~/.bashrc:

export MOZILLA_FIVE_HOME=/opt/mozilla/lib/firefox-2.0.0.11
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/mozilla/lib/firefox-2.0.0.11"

After you log out and back in, Aptana's internal preview should work.

EDIT:

If you run Aptana as root to do the updates, remember to "su", not "su -".

Last edited by foxbunny (2008-02-11 03:13:07)

Offline

#2 2008-03-01 14:48:56

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Aptana Studio 1.x and Firefox 2.x [SOLVED]

FWIW, I installed Aptana quite some time ago using AUR.  The script that starts Aptana (/usr/bin/aptana) looks for /etc/profile.d/aptana.sh.  If this exists it runs it.  I have this file (the PKGBUILD installed it) and in it is the export MOZILLA_FIVE_HOME.... line.  The line was pointing at the OLD Firefox location in the /opt folder.  I changed this to the correct location of Firefox and all is well.

This is just an FYI.


Matt

"It is very difficult to educate the educated."

Offline

#3 2008-04-26 15:07:08

billytcf
Member
From: Hong Kong
Registered: 2008-04-06
Posts: 12

Re: Aptana Studio 1.x and Firefox 2.x [SOLVED]

hi,

i extracted a copy of aptana from it's official web and added a script like this

#!/bin/sh
# MOZILLA_FIVE_HOME=/usr/lib/xulrunner
# MOZILLA_FIVE_HOME=/opt/mozilla/lib/firefox3
MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.8.1.13
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
./AptanaStudio

it runs ok until i click "Open aptana start page" it goes unresponsive
does anybody knows solution???

I really don't wana change distro juz because of aptana, arch is simply too good

THANKS!!


Billy Tse

Offline

#4 2008-04-27 02:08:33

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Aptana Studio 1.x and Firefox 2.x [SOLVED]

See bug FS#10066 and maybe https://bugs.eclipse.org/bugs/show_bug.cgi?id=227792.  This happens to me too.  Downgrade to Firefox 2.0.0.12 and it should work for now.


Matt

"It is very difficult to educate the educated."

Offline

#5 2008-04-28 07:31:11

billytcf
Member
From: Hong Kong
Registered: 2008-04-06
Posts: 12

Re: Aptana Studio 1.x and Firefox 2.x [SOLVED]

hello

i have downloaded ff from the mozilla ftp and pointed the MOZILLA_FIVE to it
now it shows embedded browser not found when <Show aptana start page>

The aptana forum said I have to install xulrunner
isn't xulrunner included in ff?
if i pont the mozilla_five to /usr/lib/xulrunner it hangs

any workarounds??  thanks a lot!


Billy Tse

Offline

Board footer

Powered by FluxBB