Aptana on Ubuntu 8.10

I was having a problem getting Aptana to run on my fresh install of Ubuntu 8.10

I lost the original error message, but it was something like

[ERROR] Invalid key
java.security.InvalidKeyException: Invalid AES key length: 26 bytes

Even though I’m running 32-bit, the solution to include an older version of xulrunner and reference it in a startup script worked like a charm.

In case this page ever dies, the trick is to install xulrunner-1.8.1.3 and use a script similar to this to start Aptana

#!/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

For reference, I am running IBM Java 1.6

#!/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