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

gregor herrmann gregoa at debian.org
Tue Jun 22 18:23:01 UTC 2010

On Tue, 22 Jun 2010 21:58:58 +0530, Onkar Shinde wrote:

> > 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"
> > ?
> I think the usage of find_java_runtime is not preferred way. As per
> the comment in /usr/lib/java-wrappers/java-wrappers.sh,
> # More than one argument can be specified; they will be taken into account
> # in that order; the first one found will be selected.

> So ideally it should be 'find_java_runtime openjdk6 sun6'. This way
> the first runtime found will be used and there won't be any warning.

Thanks alot, it seems I've missed this approach so far.

I'll fix the jabref wrapper script soon.


 .''`.   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: Brownie McGhee: Blues Had A Baby, The
-------------- 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/adf7732d/attachment.pgp>

More information about the pkg-java-maintainers mailing list