Hi Rahul,

Are you using the same JAVA HOME JRE for your run of the class or not?

It happens that your run of the class can use a different JRE, while
compilation can use a total different JDK.

Check that out.

On Jan 27, 2:57 pm, Rahul Boss <[email protected]> wrote:
> Hello,
>
> I am getting an exception when i run the SendMessage class. I am
> working on Windows XP platform.
>
> exception is
> ---------------------------------------------------------------------
> Caught java.lang.ClassNotFoundException: com.sun.comm.Win32Driver
> while loading driver com.sun.comm.Win32Driver
> -------------------------------------------------------------------
>
> now,
> my settings for Java communication API is
> -------------------------------------------------------------
> comm.jar should be placed in:
>     %JAVA_HOME%/lib
>
>     %JAVA_HOME%/jre/lib/ext
>
> win32com.dll should be placed in:
>     %JAVA_HOME%/bin
>
>     %JAVA_HOME%/jre/bin
>
>     %windir%System32
>
> javax.comm.properties should be placed in:
>     %JAVA_HOME%/lib
>
>     %JAVA_HOME%/jre/lib
> -----------------------------------------------------------------
>
> Help me. How can i solve above exception.
--~--~---------~--~----~------------~-------~--~----~
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