A Quickie on Using Android Studio on Ubuntu

The original post below applies to old versions. For 0.4.x plus, you don’t need to do this. You just need to have a proper Oracle JRE/JDK installed system wide which you can do with this:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update && sudo apt-get install oracle-jdk7-installer

With the recent preview release of Android Studio it’s important to know that it won’t work properly on Ubuntu with the OpenJDK that’s available.

Fortunately, it’s easy to get it going.

  1. Download the official Oracle JDK
  2. Unpack it (I put mine in ~/SDK/jdk1.7.0_21/ )
  3. Point your JAVA_HOME to this.
    ~/android-studio/bin$ export JAVA_HOME=~/SDK/jdk1.7.0_21/
  4. Run the android studio startup script.
    ~/android-studio/bin$ ./
  5. Make awesome android apps.

Have Fun!

Linux Ubuntu

Ubuntu: Sharing is Caring

Over the last 24 hours, since the release of Ubuntu 11.04, I’ve managed to upload over 200GB on the torrents.  Here’s a little graph of my bandwidth use.  I’m sure this is just a drop int he bucket.  It’d be interesting to see how much other individuals upload during the same release time.

I don’t do as much as I should to work with the community, but at least I share!

Randomness Ubuntu

Happy 10-10-10 and More.

Happy 10/10/10 which is kind of cool, but mostly annoying by itself.

Seeing as 101010 is binary for 42, Happy ultimate answer to the ultimate question day.

Also, Happy Canadian Thanksgiving.

Also, Happy Ubuntu Day.  They released Ubuntu 10.10 18 days early so it could fall on 10.10.10.  So if you’re an Ubuntu fan and you’re expecting a release on Oct 28th like it normally would’ve been scheduled, you can go download Ubuntu 10.10 now.

Linux Ubuntu

Replacing a Live System RAID On The Fly

Well, this is one of those crazy fun things that I had to attempt. My old system drive consisted of two 80 GB IDE drives in a mirror configuration. Pretty standard, but they were getting sluggish and I happen to have a few 320GB SATA drives doing nothing.

This is not a tutorial. This is a step by step account of a process I took to replace my disks; This is to be taken only as a suggestion as your configuration and mileage may vary. There may also be a better way of doing this.

So, lo and behold, I plugged them in to my eSATA ports and started rolling over!  For the sake of this exercise the original drives will be sda, sdb. The new drives will be sdc and sdd. The raid device is md0.

Linux Ubuntu

Ubuntu 9.04 on a Dell Latitude D610, Success.

I had the joy of recovering data from a busted-ass Windows XP installation.  You know, the one where it blue screens no matter what boot process you try with an error about “kernl32.dll” being screwed? Yeah, one of those.  So, I fired up an Ubuntu live CD to test the hardware and figure out if anything was actually wrong with the laptop – and much to my surprise – everything just worked.

I’ve watched Ubuntu grow over the years and I’ve used it on many machines.  The trickiest has always been cheap laptops.

The specs on this machine are fairly simplistic:

  • Intel Pentium M 1.6Ghz
  • 1255MB of ram (strange, eh?)
  • 40 GB hard disk
  • cheap-o-dell-branded cd-rw/dvd-rom (modular, though)
  • broadcom gigabit ethernet
  • intel wireless
  • bluetooth (dell branded, onboard usb device)
  • standard ac’97 modem, ac’97 audio
  • and a bunch of other fluff.

I’m just really impressed that everything works.  I didn’t have to find any windows drivers, or do anything goofy to get things rolling.  All the function keys (standby, hybernate, wireless, battery status…) work as expected.

Kudos to Ubuntu.

Linux Ubuntu

Happy Ubuntu Day (9.04 Released!)

Today, like clockwork, is the day in which Ubuntu issues another release.

Get your copy via the always legal BitTorrent here.

Happy Ubuntu Day!