Problems running a Java App using NetBeans

When I run my App through NetBeans I get a java.lang.UnsupportedVersionError saying that the major and minor version is incorrect. I downgraded from v5.0 SDK back to 1.4.2_01 to test everything, but to no avail. Any1 have an idea about this?Thanks.
[262 byte] By [The_Java_One_100a] at [2007-10-1 21:09:06]
# 1

> When I run my App through NetBeans I get a

> java.lang.UnsupportedVersionError saying that the

> major and minor version is incorrect. I downgraded

> from v5.0 SDK back to 1.4.2_01 to test everything,

> but to no avail. Any1 have an idea about this?

You seem to be using different versions of JDK for compiling and executing. Try recompiling and executing with the same JDK version.

xHackera at 2007-7-13 3:06:28 > top of Java-index,Administration Tools,Sun Connection...
# 2
Tried that already. No difference. Should I maybe format my PC and try again?
The_Java_One_100a at 2007-7-13 3:06:28 > top of Java-index,Administration Tools,Sun Connection...
# 3

> Tried that already. No difference. Should I maybe

> format my PC and try again?

Whatever, but the prior answer is correct. You compiled using version 1.5 and are trying to run using version 1.4, and 1.4 doesn't recognize/know what to do with/know anything about version 1.5. source code.

ChuckBinga at 2007-7-13 3:06:28 > top of Java-index,Administration Tools,Sun Connection...
# 4
But why is it then that the program runs on other PC's using 1.4.2_01 without giving me this exception? Only on my own PC does it do this. However, I have noticed that if i run my program through the command prompt, I get no errors?!
The_Java_One_100a at 2007-7-13 3:06:28 > top of Java-index,Administration Tools,Sun Connection...