I have Microsoft Windows Server 2003. I installed JDK 1.7.0 and JDK 1.6.0 but the version shown by Java version is 1.4. I can't find any JDK 1.4 or JRE 1.4 folder in C:\program files\java\
. I also changed JAVA_HOME
to C:\program files\java\jre1.7
.
I referred to this thread but didn't help. I know the issue is with JER/JDK compatibility but can't help myself. I can compile and run my application in Netbeans but can't run this application independently. What might be the issue?
java.lang.UnsupportedClassVersionError:MYCLASSPackage/ClassName (Unsupported major.minor version 50.0)