first compile issues error

I installed the JDK 5.0 Update 6 with NetBeans 4.1 Bundle onto my windows 2000 machine, created the HelloWorldApp program and compiled it successfully.

However, when I rin it, I get the folowing error messages:

Exception in thread "main" java.lang.unsupportedclassversionerror

(Unsupported major.minor version 49.0)

Does anybody have any ideas as to my problem?

Thanks.

[407 byte] By [aronoffsa] at [2007-10-2 10:36:42]
# 1
http://www.google.com/search?q=(Unsupported+major.minor+version+49.0)
ChuckBinga at 2007-7-13 2:40:03 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
may compiler can't recognize Input.java...even though I already encoded and compiled it...
leri_19a at 2007-7-13 2:40:03 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 3
Try following this tutorial http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html
ChuckBinga at 2007-7-13 2:40:03 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 4

I think my compiler is the problem.!

According to my professors, the compiler is the problem.!

Everytime I encode a class it has no problems...

But when I encode a program that requires an input...

the compiler couldn't recognise the command "Input"...

I mean all kinds of input...

How can I solve this.?

leri_19a at 2007-7-13 2:40:03 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...