Starting Nodejs Development on Ubuntu

Outdated: please disregard this article as it is out of date. I install node in my local filespace on Ubuntu now as its so much easier to manage. Basicaly I download the Linux binaries and put them in ~/apps/nodejs/current, then add ~/apps/nodejs/current/bin to my path using my shell profile (~/.profile). This makes using npm -g really easy and does not require the sudo command.

nodejs is a very popular framework for JavaScript development, but as I found out at the MongoDB hackathon its not that straight forward to get going. So here is a quick guide to get going with Node.js on Ubuntu.

Read More

Java on Ubuntu - Time to Move to OpenJDK!

Oracle have had many ups and downs with the community over the last few years, although recently I though they seemed to be getting things right.

On the one hand Oracle are supporting FOSDEM but with the other hand are stopping the Sun JDK from being shipped freely by Linux distributions.

Is this simply an aggressive way to move everyone over to the OpenJDK platform at a quicker pace?  If it is then its a bit of a big stick to use, when you could just use the carrot of new features in OpenJDK 7 & 8.

Now Oracle has retired the ‘distributor license’ which allowed OS vendors to package Sun JDK (August 2011), the security board for Ubuntu announced that it would be removing Sun JDK package from its ‘Partner‘ repository from 16th February 2012.

“The Sun JDK packages will remain installed on current systems with no further security updates. On new systems, it will no longer be possible to install the packages from the partner archive. “

So if you want a new install of the Sun JDK after February 16th 2012 then you will need to do a manual install by downloading a .bin file from the Oracle website and installing it into /opt or /usr/local/. Or you could have a look at the  package from one enterprising Ubuntu user, Martin Wimpress.

Moving to OpenJDK

Instead of the fiddling with the Oracle version of Java, you could use this move as a good excuse to test drive your Java applications on OpenJDK which is currently available to install through the Ubuntu Software Centre.

I was concerned about moving over to OpenJDK at first until I realised that I had been using OpenJDK for everything for quite a while anyway.  In the last year I have been doing JIRA and Confluence plugin development, using Netbeans IDE and coding with Scala and Clojure all on OpenJDK 1.6 without any issues.  So is it time for us to move over to the OpenJDK platform for good?

In Summary

Its a funny feeling that moving to OpenJDK is not only what a huge commercial organisation wants but also a great boost for open source projects in general and of course the OpenJDK project itself.  The world has certainly changed in the last few years !!

Thank you.

This work is licensed under a Creative Commons Attribution 4.0 ShareAlike License, including custom images & stylesheets. Permissions beyond the scope of this license may be available at @jr0cket
Creative Commons License