managed-commons / stab-language

Automatically exported from code.google.com/p/stab-language
Apache License 2.0
5 stars 3 forks source link

Sample Dalek with corrupt jar file #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After building the sample Dalek and tring to execute the jar:

java -jar Daleks.jar

returns

Invalid or corrupt jarfile Daleks.jar

Original issue reported on code.google.com by ice.ta...@gmail.com on 19 Jun 2010 at 9:34

GoogleCodeExporter commented 9 years ago
By default the compiler does not generate an executable jar. The class file are 
just packaged inside a jar without manifest. To run the sample you must type:

java -cp ..\..\bin\stabrt.jar;Daleks.jar stab.samples.Daleks

Note that an option exists to provide a manifest file to the compiler.

Original comment by stab.hac...@gmail.com on 26 Jun 2010 at 10:57