From where could i download com.sun.cldc.io.ConnectionBaseInterface package.

I am not able to send sms using following piece of code

try {
MessageConnection conn = null;
boolean WMA=isWMAPresent();
String addr = "sms://+919810496639";
conn = (MessageConnection) Connector.open(addr);
TextMessage msg = (TextMessage) conn.newMessage(MessageConnection.TEXT_MESSAGE);
msg.setPayloadText( "Hello World" );
conn.send(msg);
System.out.println("SMS send");
}
catch(Exception e)
{
error=e.toString();
String er=error.substring(0,25);

al = new TextBox("alert",er,50, TextField.ANY);
display.setCurrent(al);
}

I am getting java.lang.ClassCastException