Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the built jar has no main manifest atttribute. #8

Open
fovea1959 opened this issue Jan 9, 2017 · 1 comment
Open

the built jar has no main manifest atttribute. #8

fovea1959 opened this issue Jan 9, 2017 · 1 comment
Assignees

Comments

@fovea1959
Copy link

I built on Ubuntu using

./gradlew jar

which completes and produces build/lib/opencv-installer-2.0.0.jar. running the jar per the readme produces:

wegscd@wegscd-hotbox:~/src/opencv-installer/build/libs$ java -jar opencv-installer-2.0.0.jar -h
no main manifest attribute, in opencv-installer-2.0.0.jar
@fovea1959
Copy link
Author

fovea1959 commented Jan 9, 2017

Found the correct command: ./gradlew fatJar.

Suggest putting build instructions in README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants