Gary Hennigan wrote : > Joerg Mueller <[EMAIL PROTECTED]> writes: > > I'm developing in Java and need at least jdk1.2, 1.3 would be better. Is > > there any .deb package for this available? I can only find jdk1.1. Until > > now I took the tarball from blackdown and installed it under /usr/local, > > but of course this breaks many other packages (especially ddd and > > emacs-jde). Any tips? > > thanks, joerg > > The crude solution, and the one I use, is to just install both jdk1.1 > and jdk1.<2|3>. Install the Debian 1.1 package and then install your > own copy of 1.<2|3> in /usr/local. Then in your path just make sure > you reference the /usr/local version first. > > A slightly more sophisticated approach would be to do the above and > then update /etc/alternatives to point to the /usr/local version. > > Finally, probably the Debian Way (TM) to do this would be to build a > simple pseudo package for your downloaded 1.<2|3> that satisfies the > dependencies required by ddd and emacs-jde, but I'm lazy. ;)
See java-compiler-dummy and java-virtual-machine-dummy - they do just this. -- Andrew J Cosgriff <[EMAIL PROTECTED]> touch sensitive