[04:21] <Olky> hi
[04:21] <man-di> hello
[04:22] <Olky> i have a doubt in using java on ubuntu
[04:22] <Olky> I have gcj installed and java 1.5 installed
[04:22] <Olky> but when i compile, gcj compiles the java code
[04:23] <Olky> I want sun java 1.5 to compile the code
[04:23] <Olky> what should i do?
[04:23] <man-di> use update-java-alternatives
[04:23] <man-di> to make your system defaults point to your java 5 packages
[04:24] <Olky> sorry i didn't get you
[04:25] <man-di> how did you installed Java 5?
[04:26] <Olky> downloaded the bin file from sun site
[04:26] <man-di> thats bad
[04:26] <man-di> whay ubuntu dist are you using?
[04:26] <man-di> what
[04:27] <Olky> Untutu 6
[04:27] <man-di> 6.04 or 6.10?
[04:27] <Olky> no 6.06
[04:27] <man-di> dapper
[04:27] <Olky> yes dapper
[04:29] <man-di> 'aptitude install sun-java5-jdk' would have done it better
[04:29] <man-di> and thats the only supported way
[04:29] <Olky> oh ok.
[04:30] <Olky> wat should be my next action plan?
[04:31] <Olky> running 'aptitude install sun-java5-jdk' on system will help?
[04:32] <man-di> then update-java-alternatives --config sun-java5
[04:32] <man-di> the lasta argument might be different
[04:32] <man-di> update-java-alternatives --list will tell you
[04:35] <Olky> ok.. i will it out
[04:35] <Olky> thanks