You need to recompile the library.

The jar in the distro is compiled with jdk6 and you are using jdk5.
Recompile everithing and you should be ok.

On Sat, Apr 3, 2010 at 7:39 AM, MrkHanuman
<[email protected]>wrote:

> Dear Sir/ Madam,
>
> I am Rama Krishna From Andhra Pradesh, INDIA. Actually I am using to
> send or receive SMS's from GSM Modem using the core 'AT' Commands. I
> am interested in using you SMS Library. I downloaded and kept the jar
> file in the class path also. But while running the examples programs
> which you gave in the download its giving the following error.
> ==========================
> Compiling 1 source file to C:\Ram\Prog\smslib\build\classes
> C:\Ram\Prog\smslib\src\smslib\SendMessage.java:11: cannot access
> org.smslib.IOutboundMessageNotification
> bad class file: C:\Ram\Prog\smslib\build\classes\org\smslib
> \IOutboundMessageNotification.class
> class file has wrong version 50.0, should be 49.0
> Please remove or make sure it appears in the correct subdirectory of
> the classpath.
> import org.smslib.IOutboundMessageNotification;
> 1 error
> BUILD FAILED (total time: 0 seconds)
> ===========================
>
> Can you please help in this issue how to rectify the problem. The
> versions I am using are given below.
>
> Java : 1.5.0_05-b05
> SMS Lib : SMSLib for Java v3.4.5
>
> Please Please help me in solving this issue. I will be very very very
> much thankful to you.
>
> Please do reply. please.
>
> Thanks in Advance.
>
> Mrk Hanuman
>
> --
> You received this message because you are subscribed to the Google Groups
> "SMSLib User Group" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<smslib%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/smslib?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SMSLib User Group" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/smslib?hl=en.

Reply via email to