Bug#268214: Debian can't really choose here

Arnaud Vandyck avdyk@debian.org
Wed Oct 13 02:46:04 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wed, 13 Oct 2004 00:19:09 -0700, 
Johan Walles <walles@mailblocks.com> wrote: 

> If Debian decides to move the preferences to another location than the
> default, the VM still has to be informed about the new location.
> Otherwise it will obviously not find them.
>
> That *could* be done by passing command line parameters to the VM.
> However, in SUN's Java 1.4.1 there are 27 different binaries.  In Java
> 1.5 there are a lot more.  Should the Debian package automatically
> generate script wrappers for all of those?
>
> I'm not saying this is not doable, but I do think this would be quite
> complicated and error-prone.  Having symlinks would resolve this without
> having to open up the wrapper-script can of worms.

All the scripts can look like:

#!/bin/sh
/usr/lib/j2se/1.5/bin/$0 -Djava.util.prefs.userRoot=$HOME \
                         -Djava.util.prefs.systemRoot=/etc/java $*


Cheers,

- -- 
  .''`. 
 : :' :rnaud
 `. `'  
   `-    
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBbOra4vzFZu62tMIRAjfNAJ9TlnFQC0RXFak3JyCbwDXf5sfTOwCgr0/7
f44qMXWPRYjB2wMUZZpa4uA=
=DZhn
-----END PGP SIGNATURE-----