Friday, March 14, 2008

Installing sun java 6 and setting up eclipse in Ubuntu

I found out this nice guide:
http://ubuntuforums.org/showthread.php?t=201378

Ant/Eclipse Problem in Kubuntu/Ubuntu

After I have started using Sun Java 6 (java-1.5.0-sun), I encountered a problem with using ant in Eclipse (I didn't try from the command line) - eclipse started complaining about the package org.apache.tools. After some digging in the web, I found out that it is a bug in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/134537

I used the solution provided by the user Mikael Nilsson and I got it working.