On Mon Aug 18 18:40, peter green wrote: > are there any scripts in debian for locating a java runtime based on a set > of criteria such as java versions supported and whether or not it is a > sun/sun based runtime. > > or to put it another way what should packages that cannot run acceptablly > with gcj be doing to ensure they run with a sun based runtime. > One solution would be to depend on just a specific runtime and then call that explicitly.
More generally, if you only work with a subset of the available runtimes then to get a policy-compliant depends line you need to have some enumeration of working VMs anyway, so this can be used in the wrapper script. Having said all that, we do need to sort out the virtual packages. I think that having a virtual package for 'any of the sun ones (sun, open or icedtea)' is sensible. I don't think there is such a script at the moment. Matt -- Matthew Johnson www.matthew.ath.cx
signature.asc
Description: Digital signature