Hi, I solved the problem. I was using old Jar. now i got new one.
Thank you. Thanasis wrote: > I assume you are using JavaComm v2, right? Are the other two files > (.dll & .properties) in place? > > > On Jan 28, 12:10 pm, Rahul Boss <[email protected]> wrote: > > yes, Thanasis I aggree with you. I also think so. > > > > But I once again assuared that I have comm.jar in the right place as I > > mentioned above. > > > > One more thing i like to tell that > > when I extracted the comm.jar i couldn't found any class named > > Win32Driver file in it. > > > > again i downloaded the new version of comm.jar and extracted it. even > > now i couldn't find the class named Win32Driver file in it. > > > > Is there something to do with this issue? > > > > Thaks for your support. > > Reply me. > > > > On Jan 28, 2:53 pm, Thanasis <[email protected]> wrote: > > > > > There must be something you've missed - seems like the "comm.jar" is > > > not found during execution. > > > > > On Jan 28, 11:34 am, Rahul Boss <[email protected]> wrote: > > > > > > Hi, > > > > > > I assured that i am using the correct BootClassPath. > > > > Yes. I am using the correct JDK i.e JAVA_HOME to run class. > > > > > > And i kept the comm.jar & javax.comm.properties & win32comm.dll in > > > > above said place. > > > > > > I am getting worried. > > > > > > On Jan 28, 10:10 am, Pradeepm <[email protected]> wrote: > > > > > > > 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.- Hide quoted text - > > > > > > > - Show quoted text -- Hide quoted text - > > > > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
