SWT browser is not available

Phew! Then, this is my first post using this blogging system (I have been using WordPress self-hosted to build my website but haven’t used this WordPress.com to blog yet). Cheer!

Now, get to the point!

I’m using Eclipse PDT to learn PHP. In the past, I used ubuntu 10.10 and didn’t have a problem using the SWT browser integrated inside Eclipse. But, after changing to Natty (11.04), I realized this problem: “SWT browser is not available” when I want to view the webpage right inside Eclipse. Well, after googling for sometime, I found that it need at least 3 things to run:

  • Mozilla 1.4
  • GTK 2.*
  • XULRunner 1.7.x – 1.9.x

The first two conditions are satisfied out-of-the-box. But when I used Synaptic to search, in Natty, the version of XULRunner is 2.x, not 1.9.x. Fortunately, there also exists the package xulrunner-1.9.2 for you install. Just install it (then restart eclipse if it’s openning) and, voila => It’s surely available now, right?