[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#283557: java-common: JAVA POLICY: define default JAVA_HOME=/usr/lib/java as alternative.



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

tags 283557 + wontfix
thanks

Mon, 29 Nov 2004 22:02:06 +0100, 
Eric Lavarde <debian.bugs.nospam@zorglub.s.bawue.de> wrote: 

> Hi,

Hi,

> my suggestion would be to define the directory /usr/lib/java as default
> java-home, so that someone can define a default value for the variable
> JAVA_HOME, which some utilities seem to require.
> I think of something like the following in a shell script:
> ${JAVA_HOME:=/usr/lib/java}

,----[ /usr/share/doc/debian-policy/policy.txt ]
| 9.9. Environment variables
| --------------------------
| 
|      A program must not depend on environment variables to get
|      reasonable defaults.  (That's because these environment variables
|      would have to be set in a system-wide configuration file like
|      `/etc/profile', which is not supported by all shells.)
|      [...]
`----

Which program does need JAVA_HOME? and why? IMHO this is not a clean
design.

Cheers,

PS: If someone else wanna take care of this bug, just remove the
    'wontfix' tag.

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

iD8DBQFBtX8U4vzFZu62tMIRAvrWAJ44cuNmTiMcXiYiLofhFzl/WzHxdACfbsPP
TAYlOPNByipcMVzxPYuVB7M=
=YT+d
-----END PGP SIGNATURE-----



Reply to: