The Pizza Compiler
The Pizza language is an extension to Java with three new features: |
Pizza's Installation FAQ
|
|
The pizza compiler doesn't run. Help! |
Some general tips for getting Pizza to run:
First, make sure that Java runs. Try both javacand java <a Java program>If Java doesn't work, check your Java installation or the installation guide provided by Sun.
If Java does run then there are two common problem sources. Make sure
your CLASSPATH includes the Pizza classes, as a couple of
questions below (one and another one) address. java -jar pizza-x.x.jar
|
When I try to run Pizza I get:
|
You did not setup your CLASSPATH correctly. On Unix systems, run
setenv to find out the current value of your CLASSPATH.
On Windows systems, run set instead. The Pizza jar file
(pizza-x.x.jar) should be contained in the CLASSPATH.
Make sure that this is the case.
|
| I can compile a class, but when I try to run it I get java mypackage.MyClass can't find mypackage.MyClass |
Your generated classfile is
somewhere where java can't find it. Run pizzac with the
-verbose option to find out where your classfile goes. You
need a directory, say `X', in your CLASSPATH such that |
|
How can I install Pizza on OS/2,the Macintosh |
Unfortunately, we don't know.
It's hard for us to support for these platforms since we don't have
experience with them, or easy access to them.
| Having said that, we would welcome an installation guides or suggestions for any of platform we do not directly support. If you've gotten Pizza to run on the Bizzarro Mark 23 (or even something with a less interesting name!), and you'd be willing to write up and take questions about an installation sheet, please get in touch with us. |