Bug#746625: libclosure-compiler-java: Running from JAR fails with “no main manifest attribute”

Ben Finney ben+debian at benfinney.id.au
Fri May 2 03:34:18 UTC 2014


Package: libclosure-compiler-java
Version: 20130227+dfsg1-5
Severity: important

Dear Maintainer,

References to using the Closure compiler often give instructions to
run the JAR file directly. However, this fails on Debian::

    $ java -jar /usr/share/java/closure-compiler.jar
    no main manifest attribute, in /usr/share/java/closure-compiler.jar

The behaviour should instead be to run the JAR as a program.

There seems to be an open issue upstream
<URL:https://code.google.com/p/closure-compiler/issues/detail?id=37>,
peripherally related but with a patch for this bug.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
 \            “Choose mnemonic identifiers. If you can't remember what |
  `\                mnemonic means, you've got a problem.” —Larry Wall |
_o__)                                                                  |
Ben Finney <ben at benfinney.id.au>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20140502/d63b31ae/attachment.sig>


More information about the pkg-java-maintainers mailing list