I used "type java" from cygwin and got: Java is hashed (/cygdrive/c/WINDOWS/system32/java)
I looked, and sure enough, java itself is in there, but it doesn't make mention of where the extensions and such should go. I'm using 1.6.0_01, so I tried moving my files to correspond with what you had, (e.g., c:\program files\java\jdk1.6.0_01\jre\lib\ext\comm.jar, etc.), but I still get the same error. I tried using different COM numbers, and it still hasn't helped. (Why oh why isn't there one centralized directory for all the java stuff on a PC?) Any suggestions? Thanks, Greg Turnipseed > From: Michael Schippling <[EMAIL PROTECTED]> > Reply-To: <[EMAIL PROTECTED]> > Date: Wed, 09 May 2007 18:12:43 -0600 > To: Greg Turnipseed <[EMAIL PROTECTED]> > Cc: <[email protected]> > Subject: Re: [Tinyos-help] Java.io.IOException: Invalid port. No comm ports > found! > > Make sure you have them in the JRE that you are actually using. > For many and wonderous reasons there may be more than one and > more than one location. Using "type java" should tell you the root. > > mine are: > C:\JAVA\j2sdk1.4.2_04\jre\lib\ext\comm.jar > C:\JAVA\j2sdk1.4.2_04\jre\lib\javax.comm.properties > C:\WINDOWS\SYSTEM32\win32com.dll > > MS > > Greg Turnipseed wrote: >> Yes, I've placed all three of them, but I'm not sure that they're in the >> right places. What are the directories they're supposed to be installed in, >> relative to the <jdk> folder? >> >>> From: Michael Schippling <[EMAIL PROTECTED]> >>> Reply-To: <[EMAIL PROTECTED]> >>> Date: Wed, 09 May 2007 13:29:13 -0600 >>> To: Greg Turnipseed <[EMAIL PROTECTED]> >>> Cc: <[email protected]> >>> Subject: Re: [Tinyos-help] Java.io.IOException: Invalid port. No comm ports >>> found! >>> >>> You installed the entire javax.comm package right? >>> there's the properties file, the win dll, and a jar >>> that goes in jre/lib/ext. The installer should do >>> it all for you. I haven't used it with J6 but I >>> assume it should work. >>> >>> Just in case, the package I use is squirreled away at: >>> http://www.etantdonnes.com/TMP/javacomm20-win32.zip >>> >>> MS >>> >>> Greg Turnipseed wrote: >>>> Hey, all. After playing around (thanks for all y'alls help so far...I got >>>> blink running, and the counter that broadcasts its readings to other motes, >>>> and the sensors), I'm now ready to try serial communications to the PC. I >>>> have tried several times to install the javax.comm package onto the PC, but >>>> it seems not to have worked thus far. I've attempted to communicate with >>>> my >>>> motes using: >>>> >>>> Export [EMAIL PROTECTED]:19200 >>>> Java net.tinyos.tools.Listen >>>> >>>> All I get back is the IOException I mentioned in the subject. I tried >>>> switching to COM7 (just in case the Windows->UNIX conversion made COM8 >>>> appear to Cygwin as COM7), but I got the same error. Just for kicks, I >>>> tried COM1, too, but still the same error. I looked at Sun's website to >>>> see >>>> what's going on, and they suggested installing javax.comm.properties in >>>> C:\Program Files\Java\JDK1.6.0_01\jre\lib, along with javax.comm, and >>>> installing win32com.dll in C:\Program Files\Java\JDK1.6.0_01\bin. That >>>> hasn't worked, either. I've made sure to set my PATH and CLASSPATH >>>> variables correctly, but still, no luck. Seeing how anybody using Windows >>>> would have to have installed javax.comm, I'm hoping one of you has a >>>> success >>>> story? >>>> >>>> Thanks, >>>> Greg Turnipseed >>>> >>>> >>>> _______________________________________________ >>>> Tinyos-help mailing list >>>> [email protected] >>>> https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
