Bug#586781: /usr/bin/jabref outputs warning if openjdk6 is missing

gregor herrmann gregoa at debian.org
Tue Jun 22 15:24:12 UTC 2010


On Tue, 22 Jun 2010 16:29:42 +0200, Martin Lutz wrote:

> the startup script /usr/bin/jabref contains the line
> 
> find_java_runtime openjdk6 || find_java_runtime sun6
> 
> if the first find_java_runtime fails, a warning is given,
> even if the second part is successful (sun6 is installed).
> 
> The warning is confusing:
> [warning] /usr/bin/jabref: No java runtime was found

I agree that this output is confusing.

Since it comes from /usr/lib/java-wrappers/java-wrappers.sh I guess
it should be improved there.

Vincent, what do you think about changing the line to something like
    java_warning "No java runtime for argument '$1' was found"
?

Cheers,
gregor
                                            
-- 
 .''`.   http://info.comodo.priv.at/ -- GPG key IDs: 0x8649AA06, 0x00F3CFE4
 : :' :  Debian GNU/Linux user, admin, & developer - http://www.debian.org/
 `. `'   Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
   `-    NP: Oasis: Live Forever (Live)/Live Forever
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20100622/b3899bc2/attachment.pgp>


More information about the pkg-java-maintainers mailing list