It’s been awhile since I worked with Java. Well, more specifically, I last seriously worked with Java around the beginning of the century. I figured, well why not set it up on the server and see what’s going on nowadays? I knew that the package install for the Java platform is sticky on linux machines. So a quick cache search yielded me lots of results, with Iced Tea being the most interesting one.
As I was eyeballing the search results, IcedTea stuck out in my head. I remembered over the summer an episode of FLOSS Weekly briefly touching upon IcedTead. Dalibor Topic and Bruno Souza from OpenJDK were interviewed about IcedTea and the satus of OpenJDK altogether. It was very nice to see a fully open sourced implementation of the Sun Java platform.
OpenJDK is an open sourced implementation the Java Platform, Standard Edition. Sun just in 2006 decided to open source Java and this year some traction took hold. IcedTea (and OpenJDK) is the first to pass the Technology Compatibility Kit tests and can claim to be a fully compatible Java 6 implementation. It showed up on Fedora but I forgot that it was on Ubuntu too.
I went the one liner route and installed IcedTea the quick and easy route:
hokey@tardis:~$ sudo apt-get install icedtea-java7-jdk
Which yielded me a bunch of other recommended packages, which I’ll revisit later, but I was ready to hit the big ‘Y’:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
icedtea-java7-bin icedtea-java7-jre
Suggested packages:
binfmt-support icedtea-java7-demo icedtea-java7-source icedtea-java7-plugin sun-java6-fonts ttf-baekmuk ttf-unfonts ttf-unfonts-core
ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho ttf-sazanami-mincho ttf-arphic-uming
Recommended packages:
liblcms1 lesstif2 libgnome2-0 libgnomevfs2-0 libgconf2-4 libgl1-mesa-glx
The following NEW packages will be installed:
icedtea-java7-bin icedtea-java7-jdk icedtea-java7-jre
0 upgraded, 3 newly installed, 0 to remove and 3 not upgraded.
Need to get 36.8MB of archives.
After unpacking 117MB of additional disk space will be used.
After installing the package a quick test verified its install:
hokey@tardis:~$ java -version
java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea Client VM (build 1.7.0-b21, mixed mode, sharing)
It’s nice to get back to my Java roots using something completely open source and Java 6 compatible. I’ve read up on a couple of things like JavaFX that I play around with and this is a good first step. Plus, it’s helping me dust some cobwebs that have been lurking in my head for a couple of years. Who knows? Once I get knuckle deep back into Java I might turn out some projects or maybe even something enterprise for headquaters. At any rate, the Java mixes well with my morning coffee addiction and IcedTea mixes will with my afternoon green tea addiction.