[Bluej-discuss] ZUUL from Book

Todd O'Bryan toddobryan at mac.com
Mon Apr 3 21:19:15 BST 2006


Remember that it's

java Game

NOT

java Game.class

that you type on the command line.

Todd

On Apr 3, 2006, at 3:09 PM, RDP wrote:

> Hi,
>
> I have a question about Chapter 7 'Objects First With Java'...
>
> Appendix E details info about executing classes without BlueJ by  
> including the method
>
>     public static void main(String[] args)
>     {
>         Game game = new Game();
>         game.play();
>     }
>
> Game class.
>
> (This uses Chapter 7 ZUUL example.)
>
> But I can't execute Game.class with the java command (non-Bluej  
> execution).
>
> Even though I can execute method 'main' in BlueJ when I open the  
> project...
>
> Any help as to what's going on here???
>
>
> Rob DePasquale
>
> _______________________________________________
> mailing list bluej-discuss at bluej.org
> To unsubscribe or change your preferences, go to
> http://lists.bluej.org/mailman/listinfo/bluej-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bluej.org/pipermail/bluej-discuss/attachments/20060403/d894f18b/attachment-0001.html


More information about the bluej-discuss mailing list