I created an executable jar file in XP and just threw it on an NT box, downloaded the jre1.4, updated the path variable and I'm getting this error:
Exception in thread "main" java.util.zip.ZipException: invalid END header (bad c
entral directory offset)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
when trying to run from the command line.
(java -jar Name.jar)
It works fine in XP (but I have the full JDK installed).
I searched for this error in the forum but no one gave a good solution to the problem. Any ideas? Thanks.