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, 06:58 AM
By mheasen in forum Architecture and Design
Last Post: 03-20-2002, 10:24 AM
By Kyle Gabhart in forum Java
Last Post: 11-19-2001, 01:11 AM
By Steven Anderson in forum Java
Last Post: 11-13-2001, 09:07 PM
By JJ in forum Enterprise
Last Post: 07-06-2000, 05:50 AM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center