java.lang.UnsupportedClassVersionError in eclipse

Posted by Derek on Stack Overflow See other posts from Stack Overflow or by Derek
Published on 2010-05-25T15:21:57Z Indexed on 2010/05/25 15:41 UTC
Read the original article Hit count: 284

Filed under:
|

Hi all, I am not a Java programmer really, so I am posting this question. The exception is being thrown java.lang.UnsupportedClassVersionError in my main class in an eclipse project. If I comment out the imports that this class has, it compiles and runs fine. If I put the imports back in, it does not work. Does this mean that the libraries I am importing were compiled with a newer or older version of java than I have? when i do java -version on the system i get 1.5_07

I could've sworn this was actually working last week, but maybe some setting in eclipse got tweaked? Is the Java Build Path in eclipse what I need to look for to check the JRE and compiler versions?

© Stack Overflow or respective owner

Related posts about java

Related posts about eclipse