-
Sun’s jarsigner has at least one (or, from the unique reports I’ve seen on java.sun.com, more like 10+) fundamental bugs in it’s encryption / sighing code. Signing frequently “fails” for no apparent reason, with all Sun’s code (webstart etc) giving off seemingly random error messages. Repeating the sign fails, then fails, then fails, then suddenly without chanigng anything, it succeeds. N0-one knows why.
-
Sun decided not to use any of the industry standards for keystores. No idea why. Their tool docs imply that only their standard can be used in java without writing custom code, but the tools happily use others if you just try it and ignore the docs.
-
Sun’s code accepts some certs, but not others, for no apparent reason. The error message is simply “there was an error whilst parsing”.
-
Sun’s Webstart will not accept multiply-signed jars. No apparent reason.
-
…but Sun’s own jarsigner will happily multiply-sign JAR’s.
-
…and has no option to de-sign them.
-
Its damn hard to get webstart to launch from the hard-disk in Java 1.4.x - you can launch the file if and only if you:
- hard-code it to only work from one directory on your personal machine
- OR: DONT load any JARs
- (I’m sure I’ve got this working before on linux with creative use of “the CWD path” but can’t get it to work now)
Maybe this is an apple-only thing (I have nothing else to hand to test with)? From what I understand, there’s nothign different in Apple’s JVM’s webstart code launcher ?