1) CLogger.java does not exist. It belongs to very old SMSLib versions. Have you forgotten any old SMSLib jar files anywhere? 2) The "class file has wrong version 50.0, should be 49.0 " is shown because the compiled classes in the distribution pack are compiled with Java 6. To solve it run:
ant clean ant compile-smslib On Dec 15, 11:52 am, Irshad Peeran <[email protected]> wrote: > 1) i hava smslib version and i have installed all necessary jars at right > place in jdk/jre/lib so that i can send and recieve message through my pc i > have > encountered following error please help me to rectify > 2) also CLogger.java - i cant find where this file is > > error is: > > C:\smslib>ant compile-smslib > Buildfile: build.xml > > compile.smslib: > > compile.examples: > [javac] Compiling 6 source files to C:\smslib\dist\ classes > [javac] C:\smslib\src\ java\examples\ bulksms\SendMess age.java: 14: cannot > acce > ss org.smslib.Library > [javac] bad class file: C:\smslib\dist\ classes\org\ smslib\Library. class > [javac] class file has wrong version 50.0, should be 49.0 > [javac] Please remove or make sure it appears in the correct subdirectory of > the classpath. > [javac] import org.smslib.Library; > [javac] ^ > [javac] 1 error > > BUILD FAILED > C:\smslib\build. xml:99: Compile failed; see the compiler error output for > detail > s. > > Total time: 1 second > C:\smslib> -- You received this message because you are subscribed to the Google Groups "SMSLib for Java 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.
