Free Cross-Platform PHP IDE

Hello again, its just been a few minutes from my previous post, just wanted to share a PHP IDE I encountered this day when I was looking for a Dreamweaver alternative.

Aptana Studio, is a java-based IDE for web development. It has a similar interface to the Eclipse IDE, is free, supports internal previews, debugging, and code completions. I'm not going to give more details about it, but if your interested, you can get it here.

Adding JAVA_HOME in Ubuntu

I've been using linux (specifically Ubuntu) for quite some time now, I've been trying to migrate to linux from windows. One of the first thing I've encountered is adding an environment variable. Compared to windows, its very similar, only that you have multiple ways to do it. One way I find to be the easiest is by adding it to /etc/environment file. So here's how to do it.

1. Open /etc/environment as root in gedit (or any text editor you have)
sudo gedit /etc/environment

2. Add the following lines (remember to change the version to what you are also using).

3. Save it and log-off or restart you machine, that's it!

You can also add other variables like your MAVEN_HOME or anything you want.