Jar file not working - sometimes?
807600Sep 21 2007 — edited Sep 24 2007I have a jar file with the following Manifest file:
Manifest-Version: 1.0
Ant-Version: Apache Ant 1.6.5
Created-By: 1.6.0_02-b06 (Sun Microsystems Inc.)
Main-Class: windows.ItemCreatorUI
Class-Path: lib/AbsoluteLayout.jar
X-COMMENT: Main-Class will be added automatically by build
The class under the Main-Class header has a main method in it, and the jar file is executable on the six computers I have tested and had others test. However, two of my users have reported a "Can not find main method, the program will now exit" error and subsequent crash. They are using a copy of the file downloaded directly from my personal ftp, so I'm fairly certain that it's something on their end. Further, they have sent me the file that they downloaded and I was able to run it without fail.
Does anybody have any experience with this sort of problem, and know a fix? Both users have the most current version of Java (in fact, one of them updated to the latest version while I was working with him).
Thanks in advance