This the error I receive when I try to run the program. error of <property name ="java.failonerror" value "true"/> and more errors can you please help me thank you for your time
Error: Could not find or load main class boardgametester.BoardGameTester
C:\Users\danny\AppData\Local\NetBeans\Cache\8.1\executor-snippets\run.xml:53: Java returned: 1
Ignore what it says about exit value; the Exception about cannot find class is what matters.
Have you compiled the .java file? Where is the .class file? Have you tried running it from the command line? Did NetBeans complain about any errors when you tried compiling that class?
Like I said earlierwhen i try to compile or run game i get the error
Error: Could not find or load main class boardgametester.BoardGameTester
C:\Users\danny\AppData\Local\NetBeans\Cache\8.1\executor-snippets\run.xml:53: Java returned: 1
Danny Broadwater wrote:Like I said earlierwhen i try to compile or run game i get the error
Error: Could not find or load main class boardgametester.BoardGameTester . . .
No, you don't. You can only get that error when you try to run the application. You can't get that sort of error when you try to compile it. You need to be specific because different problems need different solutions. How are you compiling the code? Where is the BoardGameTester.class file?