Ubuntu 10.04 – where did Sun Java go?

This post is partly for Kris and partly for everyone else! Some people are probably wondering where Sun Java has gone to in Ubuntu 10.04 “Lucid Lynx”. It always pays to read the Release Notes, as they tell you that Sun Java has been moved to the Partner Repository. So, how do you install it? Firstly you have to activate the Partner Repository. Go to the System -> Administration -> Synaptic Package Manager. Enter your password. Go to Settings -> Repositories. Go to Other Software. Click on the link with “partner” at the end. See screen shot (right).

Click Close. Click Reload, so you get the new software showing up. On the left hand side, near the bottom of the window, click on Origin, and then select lucid/main (archive.canonical.com). In the main window you’ll see a number of items appear. Scroll down until you see sun-java6-jre. Right click on it and select “Mark for installation”. See screen shot (below). A message will pop up telling you that some additional stuff is required. Click on the green “Mark” tick. If you want Sun Java to work with Firefox, you will also need to right-click on “sun-java6-plugin” and “Mark for installation”. I also install the “sun-java6-fonts” package too.

Media_httpdevworlditc_hxiki

Click on the big green “Apply” tick and wait for the install. You’ll need to tick the licence box and click Next. Now…you have Sun Java installed, but it is not the default Java Virtual Machine. If you ONLY want to use it (and this may be if OpenJDK/icedtea doesn’t work with a certain Java applet), then you’ll need to remove OpenJDK and “icedtea”. Search for “icedtea” in Synaptic and right-click on each “icedtea” and OpenJDK item you find and select “Mark for Complete Removal”, then click Apply. Now you should only have Sun Java. Enjoy!

Why I am not going to upgrade to a new laptop

I am writing this on my primary machine, an Asus A6Rp laptop. It is about 4 years old and has the following specs:

  • Intel Celeron M 420 @ 1.6GHz
  • 2GB RAM
  • 80GB HDD
  • 128MB ATI Radeon XPress 200M video card
  • Screen resolution of 1280 x 800
  • Broadcom 4318 wireless card
  • 10/100 Ethernet
  • Card reader
  • 4 USB 2.0 ports and some other stuff

I have been running Ubuntu GNU/Linux on this machine since late 2006, early 2007. After some initial configuration requirements, for the last few versions it has worked flawlessly with no requirement to alter anything to get it working.

However, I am wanting to upgrade to a new laptop. It would be nice to be able to watch 720p or 1080p video and do something resembling multi-tasking. The Celeron M 420 is a cut down non-HyperThreading version of the Core Solo so you can forget any kind of video-editing or cross coding!

I have watched the Pentium Dual Core, Core Duos and Core 2 Duos come and go, and am quite interested in upgrading to the new Core i3/i5/i7 range. But not with the configurations being offered at the moment.

I just can’t get interested in any of the current crop of laptops. This is mostly due to screen resolution. Most of the laptops, with up to about 16 inch screens, are advertising resolutions of 1366 x 768. So the vertical resolution of the screen is actually worse than what I have now! Why would I be interested in that?

Come on laptop manufacturers, give me a compelling reason to buy a new laptop!