PDA

View Full Version : knoppix 4.0.2 - upgrading java to 1.5.0_06 - please help!



pcween
04-15-2006, 09:36 PM
hi all!

i am almost finished with my knoppix 4.0.2 remaster. i still need to replace the currently installed java (v1.4.2_06) with the J2SDK v1.5.0_06.
is there an easy way to do this?
i already tried adding "debian unofficial" mirrors in /etc/apt/sources.list, "aptitude update" and "aptitude install sun-j2se5.0-jdk-binary".
it seems as there is no such package, although it is listed in the package list at http://www.debian-unofficial.org/packages.html .

any help?

pcween
04-16-2006, 10:43 AM
I created a debian package for the jdk myself and installed it:


fakeroot make-jpkg jdk-1_5_0_6-linux.i586.bin
dpkg -i sun-j2sdk1.5_1.5.0+update06_i386.deb


i hope it works :-)
problem is, it takes too much disk space and now the image wont fit on a 700mb cd-r.
is there a way to remove the "old" java 1.4.2_06 ? can i just run "apt-get remove --purge java-common" ?

is there a list which packages are safe to remove?

thanks!