[Bluej-discuss] ZUUL from Book
Rob Sammons
rob.sammons at gmail.com
Mon Apr 3 21:19:49 BST 2006
What command are you using to execute the class. You should not leave the
.class extension on when you execute you should simply type java Game
Rob
On 4/3/06, RDP <robdepasquale at msn.com> 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/e73278c8/attachment.html
More information about the bluej-discuss
mailing list