Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Failed to load Main-Class manifest attribute

807603Jan 19 2006 — edited Feb 26 2008
I have build a java application in unix. The executable is a jar file and have added the main class in the manifest file and Its all working fine, When I issue the command

java -jar ......

But when executed by the autosys(ie the automated job thtat triggers my application) It says

Failed to load Main-Class manifest attribute from
/users/iwexp/IW/bin/IW.jar

IW.jar is my executable. The shell script that triggers this command is

java -jar /users/iwexp/IW/bin/IW.jar

Can anyone please help me as soon as possible?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 25 2008
Added on Jan 19 2006
15 comments
2,226 views