View Single Post
  #1 (permalink)  
Old Mar 23rd, 2007, 20:41
stroodle01 stroodle01 is offline
New Member
Join Date: Mar 2007
Location: England
Age: 27
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Question Problem running Java

Hi there!

I am currently at university studying computing and at present learning how to program in Java. I am learning how to generate graphics using the 'Animax' console. I am using Textpad to edit, compile and run the code but its running the code that is proving to be impossible at the moment.
I have downloaded the latest JDK from the JAVA SUN website along with the Animax package. I have tried to compile a simple output program ("Hello World") which is syntacticly correct as it compile with no error message, but when i run the program the command line window consists of the message:

Exception in thread "main" java.lang.NoClassDefFoundError: Demo
Press any key to continue . . .

Insted of:

Hello World
Press any key to continue . . .

I would be very grateful if someone could help me to come up with a solution so i can proceed with my work.
Thanks, Stroodle

Last edited by stroodle01; Mar 23rd, 2007 at 20:44.
Reply With Quote