Originally posted by Manuel Comnenus:
Has anyone else experienced a problem with the assignment JAR? I get the message "Failure to load Main-Class manifest..." Was there anything that you could do to fix the problem besides wait for a response from Sun?
Thanks.
SCJP<br />SCJD
Originally posted by Manuel Comnenus:
Hi Mark,
Thanks for your help. The JAR was downloaded from Sun, rather than being something that I created. Your response helped me figure out the problem. I viewed the JAR contents and noticed that the manifest was indeed in the JAR. So, I used the JAR extraction tool. The problem was based on a bad assumption by me. The JAR is, on my pc, listed as an executable JAR. So, I had expected that I should be able to execute it and that it would programatically unzip itself.
SCJP<br />SCJD
Originally posted by Zhixiong Pan:
Mark, while making the runme.jar, must I use the Ant approach? If so, in writing the jar target, how to make sure that it will be a runnable jar file?Thanks.
SCJP<br />SCJD
SCJP 1.4 SCJD
Originally posted by Zhixiong Pan:
Hi Mark,
One more problem. The runme.jar which generated by ant can't run when I double click it.
SCJP<br />SCJD
SCJP 1.4 SCJD
SCJP 1.4 SCJD
Originally posted by Zhixiong Pan:
Undo my previous post firstly, cause that's not the crux or the matter.
I can run that jar file in command window. Hope this checking can help Mark go further on my question. Thank you.
SCJP<br />SCJD
SCJP 1.4 SCJD
Originally posted by Zhixiong Pan:
Why take action of excluding suncertify.properties without which application will not work at all.
Regards.
SCJP<br />SCJD
Originally posted by Zhixiong Pan:
[QB]Hi Mark,
While double clicking runme.jar, means run the application with no parameter. And the command form without parameter is to launch network client. Consequently, double clicking runme.jar will not work since network client can not go without server started.QB]
SCJP<br />SCJD
OCP Java SE 6 Programmer | OCM Java SE 6 Developer | OCE Web Components (OCEWD) | OCE JPA 6 (OCEJPAD) | OCE EJB 6 (OCEBCD) | OCE Web Services (OCEWSD) | OCM Java 6 Enterprise Architect(OCMEA)
MySQL Certified Administrator & Developer,
OMG Certified UML Prof. Fund., Int., Adv.
OCP Java SE 6 Programmer | OCM Java SE 6 Developer | OCE Web Components (OCEWD) | OCE JPA 6 (OCEJPAD) | OCE EJB 6 (OCEBCD) | OCE Web Services (OCEWSD) | OCM Java 6 Enterprise Architect(OCMEA)
MySQL Certified Administrator & Developer,
OMG Certified UML Prof. Fund., Int., Adv.
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
|