Skip to content

Seems the jar's manifest isn't in the META-INF dir? #13

@aglover

Description

@aglover

curl -O http://repo.joist.ws/com/bizo/fakesdb-standalone_2.9.1/2.6.1/fakesdb-standalone_2.9.1-2.6.1.jar
Then
java -jar fakesdb-standalone_2.9.1-2.6.1.jar
And I get:
Error: Invalid or corrupt jarfile fakesdb-standalone_2.9.1-2.6.1.jar

Yet I can jar tf the file and I see .class files.
Looking in the META-INF dir and I don't see a manifest.mf but I see it in the parent dir.

I un-jar'ed the project, then re-jar'ed specifying the m flag, reran the java -jar command and it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions