facebook

UnsupportedClassVersionError – but my jre version is right

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #276377 Reply

    This message has not been recovered.

    #276390 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #276393 Reply

    This message has not been recovered.

    #276402 Reply

    Loyal Water
    Member

    This message has not been recovered.

    #276417 Reply

    This message has not been recovered.

    #276450 Reply

    Riyad Kalla
    Member

    Travis,
    Pop open your project properties and go to Java Compiler, make sure it isn’t compiling Java 6 byte code, that’s most likely what is happening.

    NOTE: Eclipse has it’s own Java compiler in it, it doesn’t use the compiler from the JDK in your path.

    #276469 Reply

    under Preferences>>Java>>Compiler:

    JDK Compliance>>Compiler Compliance Level: 5.0

    There’s a checkbox: “User default compliance settings” — it is checked an dthe rest of the entry fields are greyed out. If I try to uncheck it, it reverts back to it’s checked state no matter what I do. Either way, it seems that the code is being compiled under 5.0 rules…

    Did I look at what you suggest?

    Travis

    #276473 Reply

    Riyad Kalla
    Member

    Travis,
    Where is this error showing up when you try and run your app?

    How, exactly, are you running your class?

    Would it be possible to post a screenshot? (or PM it to me using the PM button under my post?)

    #276528 Reply

    I’m not really sure what you’re looking for. I am running an application via the run arrow button in the toolbar. The application kicks off a swing app. This all worked before. I see the exception in the console. I could send you a screenshot but I’m not sure what you want a shot of

    #276995 Reply

    This message has not been recovered.

Viewing 10 posts - 1 through 10 (of 10 total)
Reply To: UnsupportedClassVersionError – but my jre version is right

You must be logged in to post in the forum log in