Sun Java in KUbuntu

That was not an obvious one. Under KUbuntu I typically use the KPackageKit application to install and update applications.  It did not work well. I tried to install the sun-java-jdk package many times and every time it would list the dependencies and do the install but the “java -version” would tell me that I was still using the OpenJDK.

After reading a few different posts in forums I tested the idea to use the synaptic package manager. The installation worked much better.

To finalize the install I ran a few commands at the cli:

sudo update-java-alternatives -l

This listed the fact that I now have the OpenJDK and Sun Java installed on my workstation.

sudo update-alternatives –config java

This allowed me to specify to use the Sun Java as my default JVM.

java -version

This now reports the Sun Java JRE as my JVM.

I can now use Maven to compile some test projects.

I guess there are still a few issues with the OpenJDK to be fully compatible (might just be some configuration that I am not aware of).

New Year

There is a new year coming very soon…

Magical number to it so more motivation to create and learn, or so I hope. It is easy to have grand plan for the new year since it is a new start. Everyone loves a new start.

I certainly hope to create more with new technologies that are out there and report more on them here than I have done before.

I should commit to numbers so I can measure my success but that is always a scary idea. It means you have the potential to fail and everyone prefer success stories.

Groovy, Scala, AJAX, more web app coding… There is plenty to learn more about.