Pages

Search This Blog

Thursday, January 21, 2010

java.lang.UnsupportedClassVersionError: oracle/apps/AvailableProg (Unsupported major.minor version 49.0)

Issue:Getting following error while opening an OAF page / executing JAVA Concurrent program

Oracle Apps version:11.5.x
Check the Java version by following command in the command prompt,
java -version

Error stack while the OA component is opened in the browser,

java.lang.UnsupportedClassVersionError: oracle/apps/AvailableProg (Unsupported major.minor version 49.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:539) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$100(URLClassLoader.java:55) at java.net.URLClassLoader$1.run(URLClassLoader.java:194) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:187) at java.lang.ClassLoader.loadClass(ClassLoader.java:289) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274) at java.lang.ClassLoader.loadClass(ClassLoader.java:235) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:141) at oracle.apps.fnd.cp.request.Run.main(Run.java:157)


Fix:
OC4J server that ships with Oracle Application server does not support the .class version and hence is the error.
Compiling your java code with lower jdk version like 1.4.2 or lower would resolve the issue.

No comments:

Post a Comment

Followers

Contributors