Skip to Content
avatar image
Former Member

UnsupportedClassVersionError Exception

Hi,

i 've created a java class using NetBean IDE 5.0 and used its jar in Webdynpro perspective. while running i got the following exception.

java.lang.UnsupportedClassVersionError: pack/execute (Unsupported major.minor version 49.0)

JDK version installed in my system is jdk1.5.0_14

Suggestions please...

Thanks,

RPN.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 03, 2009 at 11:30 AM

    Hi,

    required JDK for the NetBeans IDE and the profiler is JDK 1.5 and newer, see the Release Notes at

    http://www.netbeans.org/community/releases/65/relnotes.html#req_sw. Also, the Attach Wizard which

    generated the remote pack forced you to select JDK 1.5 and up.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi RPN,

      The above given sol is correct.

      U need to recompile using 1.4 & again deploy the application freshly. That shall work. Thanks.

      Regards

      Chander Kararia

      Edited by: Chander Kararia on Feb 5, 2009 10:34 AM

  • Feb 02, 2009 at 11:41 AM

    Hi RPN,

    Just clean up all different java-Installations and additionally setting USER-Environment-Variable JAVA_HOME

    Work with J2sdk1.4 version.

    Hope this will help you.

    Regards

    Chander Kararia

    Edited by: Chander Kararia on Feb 2, 2009 5:13 PM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Chander Kararia

      i 've made the changes which you 've mentioned. but still i am facing the same exception.

      help me me on this..

      Please let me know whether this is possible or not....

      Thanks,

      RPN

      Edited by: RPN on Feb 3, 2009 12:05 PM

  • avatar image
    Former Member
    Feb 02, 2009 at 11:36 AM

    Hi,

    The similar exception is sorted out at the following links:

    /message/244199#244199 [original link is broken]

    https://www.sdn.sap.com/irj/scn/wiki?path=/display/java/netweaver%252bdeveloper%252bstudio%252b(NWDS)

    error-while-deploying-dcs

    Regards.

    Rajat

    Add comment
    10|10000 characters needed characters exceeded