Go to the dist/classes and try to run:

java -Dsmsserver.configdir=<where your config is>
org.smslib.smsserver.SMSServer

Does this run?
By the way, you are running on GNU Java and not SUN's JDK.


On Feb 13, 1:06 pm, sandeep <[email protected]> wrote:
> Hi ,
>
> Now, I am getting the below exception, when i run this(its on linux).
>
> Command:(to start server)
>
> java -classpath =/home/oracle/SMSLib/SMSServer/dist/lib/
> smslib-3.3.3.jar -Dsmsserver.configdir=/home/oracle/SMSLib/SMSServer/
> src/java/org/smslib/smsserver/ org.smslib.smsserver.SMSServer
>
> Exception:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org.smslib.smsserver.SMSServer
>    at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
>    at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
>    at _Jv_RunMain(java.lang.Class, byte const, int, byte const,
> boolean) (/usr/lib/libgcj.so.5.0.0)
>    at __gcj_personality_v0 (/home/oracle/SMSLib/SMSServer/
> java.version=1.4.2)
>    at __libc_start_main (/lib/tls/libc-2.3.4.so)
>    at _Jv_RegisterClasses (/home/oracle/SMSLib/SMSServer/
> java.version=1.4.2)
>
> Please do help me in resolving this.
>
> Regards,
> Sandeep.
>
> On Feb 13, 10:29 am, sandeep <[email protected]> wrote:
>
> > Hi,
>
> > I am planning to use SMSServer but I dont no where to start. Can
> > anyone please tell me how to start using it on a linux machine. I also
> > went through the docs section of SMSlib.org, but didnt understand how
> > to go about it. I have just downloaded the SMSLib v3.3.3 (Sources +
> > Binaries, compiled with JDK 5). Please do help me.
>
> > Thanks & Regards,
> > Sandeep.
--~--~---------~--~----~------------~-------~--~----~
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