Problem with java program!
Hi. I am trying to run this tic tac toe program in jcreator.
The program builds fine however every time I try to run it, it gives me this error:
Exception in thread "main"
this also has happened with a couple of the other tic tac toe programs too. Does anyone know why this is happening?
I appreciate any help.
The Board class does not have a main method. Go to the "Home URL" link - you need to get the TicTacToe.java file and the ComputerPlayer.java file (which DOES have a main method) as well as the Board file in order to build the complete system.
Thank you very much for the help. I took your advice and was able to get the program to run.
by the way do you kno of anywhere that has a tic tac toe program that is less advanced than this one?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
Last Post: 09-19-2007, 05:58 AM
By mheasen in forum Architecture and Design
Last Post: 03-20-2002, 09:24 AM
By Kyle Gabhart in forum Java
Last Post: 11-19-2001, 12:11 AM
By Steven Anderson in forum Java
Last Post: 11-13-2001, 08:07 PM
By JJ in forum Enterprise
Last Post: 07-06-2000, 04:50 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL