Aptana with 64bit linux

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

Moderator: Aptana Staff

Aptana with 64bit linux

Postby midnite » Sat Feb 14, 2009 3:50 am

I am I little confused as how to use aptana with 64bit. Which version of eclipse do I download and how do I installl aptana?
midnite
 
Posts: 1
Joined: Sat Feb 14, 2009 3:48 am

Re: Aptana with 64bit linux

Postby kbreddy » Sat Feb 14, 2009 6:38 am

Setup Aptana Studio


* Unzip Aptana Studio to /usr/local/aptana. Note: If you install Aptana Studio in a directory accessible only to the root user, you will need to run it as root to install updates.
* Install xulrunner 1.8.* (You can use Synaptic Package Manager to install this.)
o You can download Xulrunner 1.8 from https://developer.mozilla.org/En/XULRunner
o Once installed, make sure you $MOZILLA_FIVE_HOME is pointing to your xulrunner 1.8 dir
o You may also need to install compat-libstdc++ if you are running into a libstdc++.so.5: cannot open shared object file: No such file or directory when running xulrunner-bin from command line.
* Check your /usr/lib/xulrunner.... and note the full name of xulrunner. Is some case it is simply "xulrunner" while in other cases the name includes the version.
* Create a script that sets up the Aptana Studio environment, call it runAptana:

export MOZILLA_FIVE_HOME=/usr/lib/xulrunner
/usr/local/aptana/AptanaStudio

* Make your script executable:

$ chmod +x runAptana

* Run the script




regards
kbreddy
kbreddy
 
Posts: 2
Joined: Sat Feb 14, 2009 6:28 am

Re: Aptana with 64bit linux

Postby charlesmartin14 » Wed Mar 25, 2009 10:42 pm

It seems you did not answer this question

I tried all of this and, when running Aptana studio, ended up with the following error:

java.lang.UnsatisfiedLinkError: /home/martcha/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/130/1/.cp/libswt-pi-gtk-3236.so: /home/martcha/.Aptana/Aptana Studio/configuration/org.eclipse.osgi/bundles/130/1/.cp/libswt-pi-gtk-3236.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1778)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1687)
...

which makes me think that I have a 32 bit version of something where I need a 64 bit
charlesmartin14
 
Posts: 6
Joined: Thu Aug 14, 2008 8:02 am


Return to Getting Started with Studio