Bad class file

Started by sapo, September 14, 2011, 04:07:27 PM

Previous topic - Next topic

sapo

Hi..

Im trying to implement this sweet lib to my device.

However our system is running java 1.5 and i keep getting "bad class file"
class file has wrong version 50.0, should be 49.0.

What i learn through some googleing is that its the wrong java version.

Is it possible to get a jar compiled for 1.5? :)

// Sapo

EgonOlsen

Oh dear...anybody is still using Java5? Isn't upgrading an option? Anyway, try this jar: http://jpct.de/donwload/beta/jpct-ae.jar. I told Eclipse to create 1.5 compatible class files, but i'm not sure if that worked out.

sapo

Yay.. thanks..

It worked fine now and im on my way to blow some socks off :)

Ill have a talk with our techlead about the 1.5 obsession..

yet again thanks.

// Sapo

EgonOlsen

If it works that way, i can compile it against 1.5 from now on. There's currently no need for jPCT-AE for 1.6.

sapo