If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

I also get this error message when I try to make my jar inside Eclipse. Can anyone tell me what's going on?

If it helps, I'm using jdk 1.5.03 on Windows XP. I believe my PATH variable is right, since I'm able to compile through the command promt (though when I try to run a file in the promt I get a bunch of NoClassDefFoundErrors...).

O.K. The web page I looked at for instructions on creating jar files didn't mention me having to create a manifest file first. I'll search around some more.

Thanks.

UPDATE
I tried making a manifest file. I called it "mainClass.txt" and I put the line "Main-Class: HexDisplay.class" in it (I also tried not puting the extension on HexDisplay). Then in command prompt I typed "jar cvmf mainClass.txt
HexMaze.jar *.class":

Then I tried to make the jar like I did last time, but I got a "IOException: invalid header field". I tried taking out the line with "Manifest-Version: 1.0" and I got a jar file, but that error is still there.