Install Sun Java Plugin For Firefox in Ubuntu

I loaded Ubuntu 10.10 Netbook Remix onto my Dell Inspiron. And though it comes with OpenJDK 6, I wanted to load Sun Java 6 Plugin. You can see what versions of java are on your system by typing the java -version command in a Terminal window.

Here are the simple steps I followed [writtern for Ubuntu 10.10]:

Download and Install Sun Java

  • Open Ubuntu Software Center
  • From the menu bar, select Edit > Software Sources, then click on the “Other  Software” tab
  • Enable the Partner repository

  • Click “Close, at which point it should reload
  • Search for sun-java6-plugin and Install

That’s it!

Now, if you go check out the Plugins tab in the Firefox Add-Ons list, you should see Java listed:

And, if you visit this Sun Microsystems Java page, you can run a quick test to see if your Java is working. If it is, you should see a result like this:

500 Internal Server Error

Got a personal website hosted on Godaddy that all of a sudden started giving me 500 Internal Server Error:

I have the domain and hosting at Godaddy – Economy Linux hosting. I use WordPress as the front end. Not the WordPress setup they offer, but I uploaded my own WordPress files, setup a MySQL db, and configured everything manually. I use the site to host family pictures and videos. I haven’t made any changes in a month however all of a sudden I’m getting 500 Internal Server Errors.

During the course of my investigation, I found out it was due to my .htaccess file. The site worked without it, but why? It worked fine before!

Turns out it was the following line in the file:

# disable directory browsing
Options All -Indexes

I commented it out, and everything worked fine. Not sure if it’s a Godaddy issue or an Apache issue. Probably the former.

But I would think it would be prudent to disable directory browsing. However, what’s weird is that I have similar setups with Godaddy, including the Options All -Indexes, and have no issues…yet.

Switch To GNOME From Unity

I know Ubuntu folks are touting Unity as the new desktop theme, but it doesn’t work well on the netbook where real estate is limited. The Launch Pad on the left seems very inflexible. With it, using a web browser [ in this case firefox ] seems difficult. The best option for me was to switch from Unity to the classic gnome desktop.

1. Select Applications from the Launch Pad.

2. Locate and click on the Login Screen icon. Then click on Unlock so you can change the settings.

3. You will have to authenticate with your login password.

4. Select Ubuntu Desktop Edition from the dropdown, for the default session.

5. Select the option to Log in as <Username> automatically and set the login timer to 10 seconds, then hit Close and reboot.

6. After reboot, you should get back to a login window. After you select your username, the taskbar will appear at the bottom of the screen. In the taskbar, make sure the desktop version is still Ubuntu Desktop Edition. Then simply login.

The above steps were written for Ubuntu 10.10, but I suspect they should work for 11.04. However, instead of going from Ubuntu Netbook to Ubuntu Desktop, you have to go from Ubuntu to Ubuntu Classic.

Ubuntu Netbook Remix

Got myself a Dell Inspiron Mini 1012 a while back, for work. I travel from office to office and I use it to remote into my main desktop at homebase. The netbook came preloaded with Windows 7 Starter, which is fine for what I needed to do. I’m not a Linux expert. Far from it. But I recently ran the Windows Update, downloaded and installed Service Pack 1, and basically blew up my netbook. Hey, s#!t happens. Sooo, after I reloaded Windows 7, I decided to also install the Ubuntu Netbook. So I figured I write about my experiences with it here.

Running Windows Apps in Linux

Lifehacker has a great writeup on running Windows apps inside Linux with VirtualBox.

Wired: Optimize A Fresh Ubuntu Installation

A nice article in Wired:HowTo wiki on how to optimize your fresh Ubuntu installation with a few add-ons