Thursday, February 07, 2008

72 characters should be enough for everyone

I just spent valuable minutes of my life wrestling with Java's classpath. One notable finding: no line in a jar file's manifest can be longer than 72 characters (at least until and including Java 5). See here:
No line may be longer than 72 bytes (not characters), in its UTF8-encoded form. If a value would make the initial line longer than this, it should be continued on extra lines (each starting with a single SPACE).
Oh, boy. And a single space at the beginning. Remember FORTRAN?

No comments: