.jar File Can't Find Main Class - Newbie
Posted on 2009-06-29
I will warn you up front that I do not know java and am learning it only to support some interfaces that were written by a previous co-worker, so I apologize in advance for my lack of knowledge.
To my knowledge, my co-worker used Eclipse when building these interfaces. I do need to make some changes to them, but overall they have been running fine. However, we recently received new workstations and now the .jar files won't run and produce an error saying that they can't find the Main Class.
I have ensured that the path on the new computers contains the path to the java folder but am not sure what else to look for. After more investigation, it looks like the interface files only ever did run successfully on a handful of pc's, but I have no idea what my co-worker may have done to these to get them to work. For the most part, my new pc has the same software as my previous one (which was able to run the interfaces).
I know that this is really open-ended, but what could the jar file be needing that is external to itself? From my (albeit limited) understanding, the .jar file should 'stand alone'. We can still run the .jar files on the 'old' computers and they work fine. We are running them from a shared network drive, so the interfaces themselves have not changed, just the pc's.