Package: java-wrappers
Version: 0.1.25
Severity: important
Tags: patch

Dear Maintainer,

The run_jar() function in /usr/lib/java-wrappers/java-wrappers.sh
contains the following lines:

   if locate_jar $1; then
        shift
        run_java -jar "$@"
    else
        java_fail "Unable to find jar $1 in $JAVA_JARPATH"
    fi

If locate_jar() finds the specified JAR file, it places the path into
$found_jar, but its result is not used.

Replacing

        run_java -jar "$@"

with

        run_java -jar "$found_jar" "$@"

should do the trick.

Cheers,
-Hilko

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
[email protected] for discussions and questions.

Reply via email to