cancel
Showing results for 
Search instead for 
Did you mean: 

class file has wrong version 49.0, should be 48.0

mrudmann
Champ in-the-making
Champ in-the-making
I am trying to command line compile the PageTag.java code and I get the error "bad class file …" and the additional information in the error message that "class file has wrong version 49.0, should be 48.0…please remove or make sure it appears in the correct subdirectory of the classpath …import org.alfreco.web.Application;"

Does anyone have any ideas for me on this one?  I am compiling this from the code that I get from HEAD as well as using the jars that came along with the 1.4 sdk.

Thanks!
-Matt
1 REPLY 1

gavinc
Champ in-the-making
Champ in-the-making
This normally happens if you have a mismatch of JDK versions, make sure your runtime and compile time JDKs are both 1.5 and not 1.4.