(function() {

// MAXB.NET LABS

})();

ubuntu

Jaunty Jackalope & Aptana

Posted on by Massimiliano Balestrieri | Comments

C’è un problema tra Aptana e le ultime 2 versioni di ubuntu: XulRunner.
Ubuntu non ha mantenuto nei repository XulRunner di Firefox 2.

Io ho seguito queste istruzioni.

  • scaricare xulrunner-1.8.1.3
  • estrarre il tar.gz
  • spostare il contenuto estratto in /usr/lib (sudo mv xulrunner-1.8.1.3 /usr/lib/)
  • installare via synaptic/apt java 1.6 (sun)
  • creare un file sh eseguibile nella directory di aptana e usare l’sh per lanciare l’ide
#!/bin/bash
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
JAVA_HOME=/usr/lib/jvm/java-6-sun
export MOZILLA_FIVE__HOME
export LD_LIBRARY_PATH
export JAVA_HOME
echo $MOZILLA_FIVE_HOME $JAVA_HOME $LD_LIBRARY_PATH
/opt/aptana/AptanaStudio -vm /usr/lib/jvm/java-6-sun/jre/bin/java
This entry was posted in ubuntu and tagged , , , . Bookmark the permalink.

2 Comments

  1. Posted 16 July 2009 at 09:11 | Permalink

    Hella Massinilian, thanks for this tutorial!
    I tried the same as you discribed. Aptana (and Xmind) starting but beginning to freeze on online activities like installing additional plugins, searching for updates, refrehing actions or connecting to FTP.
    Any suggestions how to fix it?

    Thanx.

  2. Posted 16 July 2009 at 10:12 | Permalink

    @Bart

    Set your proxy (if you have one) in Preferences-> Install/Update. Else I don’t know. sorry