Hi Ju. I'm sure there's some jar files missing in your classpath, especially comm.jar. I suggest you use the -cp commutator to add them to the jar command from the command line.
On 11 mars 2012, at 10:13, Ju Rokku <[email protected]> wrote: We're on the same boat dude. We both get an empty portList. But mine can see the ports when I run it from the IDE. I only encounter this problem when I've builded the project to a .jar file. Haven't found the answer yet. Have you? Noong Martes, Setyembre 27 2011 15:48:19 UTC+8, si Mick De Valck ay sumulat: > > Hi, > I am on a win7 OS, with an Option IconXY USB modem, running on COM9. > The modem is working fine as such, I can send and receive SMS's from > its own uCan Connect interface. > When running CommTest.java the method getCleanPortIdentifiers() does > not return any ports, (portList.hasMoreElements()) returns FALSE, and > the test completes with no results. > > portList = getCleanPortIdentifiers(); > while (portList.hasMoreElements()) /* is FALSE...!?*/ > > Any idea what the issue could be? > rgds, > Mick -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To view this discussion on the web visit https://groups.google.com/d/msg/smslib/-/vdIcXZ5_lsoJ. 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. -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion 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.
