Java API Problems - Class file has wrong version 490

Hi,

Trying to write a Java program to list channel id’s and hang up channels according to a given string…

Anybody seen this ?

Class file has wrong version 49.0, should be 48.0

Tried using:
asterisk-java-0.3-20060314.223735-6.jar 14-Mar-2006 22:37 290K

and…
asterisk-java-0.3-20060715.102326-77.jar 15-Jul-2006 10:23 284K

Thanks,
Rob

Seems like you are using Java 1.4 when you should use Java 5.0 (aka 1.5.0)

Asterisk-Java 0.3 (and snapshots thereof) require at least 1.5 - you can download a recent JDK from Sun: java.sun.com/javase/downloads/index.jsp