When starting my JBoss server it is giving me a Java error. The header info in my command prompt displays JBoss finding my JDK, but I am concerned with it going to a java folder. The directory it gives the Java is: C:\j2sdk1.4.2_13\bin\java
This is the error I am receiving:
java.lang.UnsupportedClassVersionError: javax/management/NotificationEmitter (Un
supported major.minor version 49.0)
There is also a long stack trace that I didn't post. It seems as if my JDK is the wrong version but it is 1.4.2. Any suggestions?
You never said which version of JBoss AS you are using. I will assume 4.2.x. You need a 5.0 JDK for that version.