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

no main manifest attribute in "datatools.jar" #58

Closed
tomreu opened this issue Aug 22, 2014 · 3 comments
Closed

no main manifest attribute in "datatools.jar" #58

tomreu opened this issue Aug 22, 2014 · 3 comments

Comments

@tomreu
Copy link

tomreu commented Aug 22, 2014

Downloaded the latest of HiBench/tree/yarn. Attempting to run any of the tests which use datatools.jar, it complains it is not a valid jar. When I do a java -jar datatools.jar it complains there is "no main manifest attribute, in datatools.jar".

@adrian-wang
Copy link
Contributor

you should use prepare.sh to drive the jar instead of java -jar. by using java -jar you need set the class to start, or it will look for main manifest to know what to do.

@tomreu
Copy link
Author

tomreu commented Aug 25, 2014

Thank you for responding. I used prepare.sh, but when I do that, I see....

Not a valid JAR: /root/HiBench-yarn/common/autogen/dist/datatools.jar

I guess this is what is confusing me most.

Thanks,

On Aug 23, 2014, at 9:23 AM, Daoyuan Wang <notifications@github.commailto:notifications@github.com> wrote:

you should use prepare.sh to drive the jar instead of java -jar. by using java -jar you need set the class to start, or it will look for main manifest to know what to do.


Reply to this email directly or view it on GitHubhttps://github.com//issues/58#issuecomment-53152722.

@adrian-wang
Copy link
Contributor

Seems you are getting a wrong HIBENCH_HOME. What shell are you using? You can try to set HIBENCH_HOME manually.

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