Ever since I set up my Davis Vantage Vue weather station, I’ve used my Dell Inspiron Mini 1012 to get weather data from my console, into the computer, and out to the Internet. This weekend I decided to see if I could dust off my old 12″ PowerBook G4 and use it for the same purpose.

To complicate matters, I had recently removed OS X 10.4 and installed Ubuntu 10.10 on the PowerBook in an ill-fated attempt to give it new life. The PowerBook was a great computer in its time but, these days, PowerPC is a dying, if not already dead, architecture. Continue reading »

 

Post updated 2011 Jan 19: Given the opportunity to install 10.10, I have added different instructions for Ubuntu 10.10 (Maverick Meerkat).

Much to my surprise, but probably not those of the Open Source Ruling Class, Sun’s Java 6 has been removed from the Ubuntu Multiverse. Apparently the Ubuntu folks have started putting some weight behind their recommendations for switching to the “OpenJDK.” Fortunately, the official, “proprietary” Java is still available through another Ubuntu repository.

Ubuntu 10.10

To install Sun’s Java 6 JDK on Ubuntu 10.10, add the Sun Java6 Community PPA and install:

add-apt-repository ppa:sun-java-community-team/sun-java6
apt-get update
apt-get install sun-java6-jdk
update-java-alternatives -s java-6-sun

Ubuntu 10.04

To make Sun’s Java 6 JDK available on Ubuntu 10.04 add the new repository like so:

add-apt-repository "deb http://archive.canonical.com/ lucid partner"
aptitude update
aptitude install sun-java6-jdk
update-java-alternatives -s java-6-sun
 

eclipseSoftware packages from Ubuntu repositories can have some interesting and problematic dependencies. One such example is Ubuntu’s dependency on GCJ for Ant.

Ubuntu’s Eclipse package also depends on GCJ. If you wish to avoid this dependency, simply download the appropriate binary distribution from the Eclipse download site, extract to the location of your choice, and run Eclipse.

Before using Eclipse, be sure you have Sun’s JRE installed and configured as the default JRE.

 

You may be surprised to learn Ant requires GCJ when installed through Synaptic or apt on Ubuntu.  GCJ is GNU’s Java compiler.  When you’re using Sun’s JDK and compiler, GCJ can get in the way — at worst it creates conflicts; at best it causes confusion.

Here’s how I installed Ant on Ubuntu without GCJ. Continue reading »

 

Update 2010 Nov 03: Be sure to read my other post about installing Java on Ubuntu 10.04 and 10.10.

Java 6 Update 10 (aka Java 6u10) is now available for Linux and other platforms.  Sun has published release notes for this update.

I have been using 6u10 with great success since the Ubuntu 8.10 release candidate became available. Ubuntu 8.10 users can begin developing with the JDK using a couple simple commands.

aptitude install sun-java6-jdk && update-java-alternatives -s java-6-sun

Be sure to consider installing other useful Java packages, such as sun-java6-doc, along with the JDK.

aptitude search sun-java6
© 2011 And now here's something… Suffusion theme by Sayontan Sinha