Open kkazuo opened 7 years ago
If the JAR is corrupt, then it should probably be for all systems. Will look into it; if nothing else, the JAR should probably have an MD5 check or something, to make sure it doesn't become corrupted during transit or something.
OSX distribution tar.bz2 md5 is OK. here is my console output:
$ md5 ~/Downloads/haste-compiler-0.5.5.1_ghc-7.10.3-darwin.tar.bz2
MD5 (/Users/kaz/Downloads/haste-compiler-0.5.5.1_ghc-7.10.3-darwin.tar.bz2) = e73ee6b531f7a53690bf57837cd0f5c5
$ tar xf ~/Downloads/haste-compiler-0.5.5.1_ghc-7.10.3-darwin.tar.bz2
$ md5 haste-compiler/x86_64-darwin-haste-0.5.5.1-ghc-7.10.3/compiler.jar
MD5 (haste-compiler/x86_64-darwin-haste-0.5.5.1-ghc-7.10.3/compiler.jar) = 9745c2b8b873eaa8c1c582262cd1d240
$ java -jar haste-compiler/x86_64-darwin-haste-0.5.5.1-ghc-7.10.3/compiler.jar
Error: Invalid or corrupt jarfile haste-compiler/x86_64-darwin-haste-0.5.5.1-ghc-7.10.3/compiler.jar
I tried the linux version haste's compiler.jar.
$ md5 haste-compiler/x86_64-linux-haste-0.5.5.1-ghc-7.10.3/compiler.jar
MD5 (haste-compiler/x86_64-linux-haste-0.5.5.1-ghc-7.10.3/compiler.jar) = 6db9233c6413855b3f466ce0d7da4248
$ java -jar haste-compiler/x86_64-linux-haste-0.5.5.1-ghc-7.10.3/compiler.jar
The compiler is waiting for input via stdin.
probably, that works.
OSX (MD5: e73ee6b531f7a53690bf57837cd0f5c5) haste-compiler.tar's compiler.jar has broken?
with --opt-minify option:
my java -version is: